Lightning-AI/pytorch-lightning
在 GitHub 查看If ModelCheckpoint and Validation occur on the same step, validation should run first, reopen
Open
#17,417 创建于 2023年4月19日
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