pytorch/ignite

Sync trainer state with evaluators

Open

#2733 aperta il 6 ott 2022

Vedi su GitHub
 (10 commenti) (0 reazioni) (0 assegnatari)Python (602 fork)batch import
Hacktoberfestenhancementhelp wantedneeds-discussion

Metriche repository

Star
 (4313 star)
Metriche merge PR
 (Merge medio 18g 23h) (19 PR mergiate in 30 g)

Descrizione

🚀 Feature

There can be use-cases when we would like to get trainer's epoch/iteration or/and other items from trainer.state. Let's propose an API such that we could get easily trainer's state from evaluator.

Context : https://discuss.pytorch.org/t/get-current-epoch-inside-process-function-of-evaluator/162926

Guida contributor