pytorch/ignite

Sync trainer state with evaluators

开放

#2,733 创建于 2022年10月6日

 (10 条评论) (0 个反应) (0 位负责人)Python (602 个派生)batch import
Hacktoberfestenhancementhelp wantedneeds-discussion

仓库指标

星标
 (4,313 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

🚀 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

贡献者指南