pytorch/ignite

Sync trainer state with evaluators

オープン

#2,733 opened on 2022/10/06

 (10 件のコメント) (0 件のリアクション) (0 人の担当者)Python (602 件のフォーク)batch import
Hacktoberfestenhancementhelp wantedneeds-discussion

Repository metrics

Stars
 (4,313 個のスター)
PR merge metrics
 (PR metrics pending)

説明

🚀 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

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