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

貢獻者指南