pytorch/ignite

Sync trainer state with evaluators

Open

Aperta il 6 ott 2022

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

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