Skip to content

valid_loss_best is re-initialized every epoch #28

@Nitsu22

Description

@Nitsu22

valid_loss_best appears to be re-initialized at the start of every epoch in Engine.run(), which may prevent proper saving of the best model based on validation loss.
It might be better to move the initialization outside the training loop. Please let me know if this was intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions