pytorch/ignite

Sync trainer state with evaluators

Open

#2,733 建立於 2022年10月6日

在 GitHub 查看
 (10 留言) (0 反應) (0 負責人)Python (4,313 star) (602 fork)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

貢獻者指南