Lightning-AI/pytorch-lightning

If ModelCheckpoint and Validation occur on the same step, validation should run first, reopen

Open

#17,417 建立於 2023年4月19日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (3,233 fork)batch import
bugcallback: model checkpointhelp wantedrepro needed

倉庫指標

Star
 (26,687 star)
PR 合併指標
 (平均合併 9天 15小時) (30 天內合併 3 個 PR)

描述

Bug description

The issue described here, is still unsolved https://github.com/Lightning-AI/lightning/issues/7694

The consequences of this issue is that n-th model is saved based on metrics from the n-1th step

What version are you seeing the problem on?

No response

How to reproduce the bug

No response

Error messages and logs

# Error messages and logs here please

Environment

#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
#- PyTorch Lightning Version (e.g., 1.5.0):
#- Lightning App Version (e.g., 0.5.2):
#- PyTorch Version (e.g., 2.0):
#- Python version (e.g., 3.9):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):
#- Running environment of LightningApp (e.g. local, cloud):

More info

No response

cc @carmocca @awaelchli

貢獻者指南