pytorch/ignite

Sync trainer state with evaluators

Open

#2,733 opened on 2022年10月6日

GitHub で見る
 (10 comments) (0 reactions) (0 assignees)Python (4,313 stars) (602 forks)batch import
Hacktoberfestenhancementhelp wantedneeds-discussion

説明

🚀 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

コントリビューターガイド

Sync trainer state with evaluators · pytorch/ignite#2733 | Good First Issue