pytorch/ignite

Sync trainer state with evaluators

Open

#2.733 geöffnet am 6. Okt. 2022

Auf GitHub ansehen
 (10 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (4.313 Stars) (602 Forks)batch import
Hacktoberfestenhancementhelp wantedneeds-discussion

Beschreibung

🚀 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

Contributor Guide