pytorch/ignite

Sync trainer state with evaluators

Aberta

#2.733 aberto em 6 de out. de 2022

 (10 comentários) (0 reação) (0 responsável)Python (602 forks)batch import
Hacktoberfestenhancementhelp wantedneeds-discussion

Métricas do repositório

Stars
 (4.313 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

🚀 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

Guia do colaborador