pytorch/ignite

Sync trainer state with evaluators

Open

#2.733 aberto em 6 de out. de 2022

Ver no GitHub
 (10 comments) (0 reactions) (0 assignees)Python (602 forks)batch import
Hacktoberfestenhancementhelp wantedneeds-discussion

Métricas do repositório

Stars
 (4.313 stars)
Métricas de merge de PR
 (Mesclagem média 18d 23h) (19 fundiu PRs em 30d)

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