mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-10 12:21:57 +08:00
delete ref to old update_training_log_metrics (#262)
This commit is contained in:
@@ -23,7 +23,6 @@ Otherwise, to Define a Lightning Module, implement the following methods:
|
|||||||
- [test_dataloader](RequiredTrainerInterface.md#test_dataloader)
|
- [test_dataloader](RequiredTrainerInterface.md#test_dataloader)
|
||||||
- [on_save_checkpoint](RequiredTrainerInterface.md#on_save_checkpoint)
|
- [on_save_checkpoint](RequiredTrainerInterface.md#on_save_checkpoint)
|
||||||
- [on_load_checkpoint](RequiredTrainerInterface.md#on_load_checkpoint)
|
- [on_load_checkpoint](RequiredTrainerInterface.md#on_load_checkpoint)
|
||||||
- [update_training_log_metrics](RequiredTrainerInterface.md#update_training_log_metrics)
|
|
||||||
- [add_model_specific_args](RequiredTrainerInterface.md#add_model_specific_args)
|
- [add_model_specific_args](RequiredTrainerInterface.md#add_model_specific_args)
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -632,26 +631,6 @@ def test_dataloader(self):
|
|||||||
return loader
|
return loader
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
|
||||||
### update_training_log_metrics
|
|
||||||
|
|
||||||
``` {.python}
|
|
||||||
def update_training_log_metrics(self, logs)
|
|
||||||
```
|
|
||||||
Called by lightning right before it logs metrics for this batch.
|
|
||||||
This is a chance to amend or add to the metrics about to be logged.
|
|
||||||
|
|
||||||
##### Return
|
|
||||||
Dict
|
|
||||||
|
|
||||||
**Example**
|
|
||||||
|
|
||||||
``` {.python}
|
|
||||||
def update_training_log_metrics(self, logs):
|
|
||||||
# modify or add to logs
|
|
||||||
return logs
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
---
|
||||||
### add_model_specific_args
|
### add_model_specific_args
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user