mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
Deployed bc401d0 with MkDocs version: 1.0.4
This commit is contained in:
@@ -1303,8 +1303,8 @@ the <a href="https://williamfalcon.github.io/pytorch-lightning/Trainer/hooks/#op
|
||||
|
||||
<p><strong>OPTIONAL</strong> <br />
|
||||
If you don't need to validate you don't need to implement this method. </p>
|
||||
<p>In this step you'd normally do the forward pass and calculate the loss for a batch. You can also do fancier things like multiple forward passes, calculate accuracy, or save example outputs (using self.experiment or whatever you want). Really, anything you want. </p>
|
||||
<p>This is most likely the same as your training_step. But unlike training step, the outputs from here will go to validation_end for collation.</p>
|
||||
<p>In this step you'd normally generate examples or calculate anything of interest such as accuracy. </p>
|
||||
<p>The dict you return here will be available in the validation_end method. </p>
|
||||
<p><strong>Params</strong> </p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1340,7 +1340,7 @@ If you don't need to validate you don't need to implement this method. </p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>dict</td>
|
||||
<td>Dict of OrderedDict with metrics to display in progress bar. All keys must be tensors.</td>
|
||||
<td>Dict or OrderedDict with metrics to display in progress bar. All keys must be tensors.</td>
|
||||
<td>Y</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user