Skip to content

Use real latest checkpoint in training#2564

Open
fitzjalen wants to merge 2 commits into
MIC-DKFZ:masterfrom
fitzjalen:use-better-checkpoint
Open

Use real latest checkpoint in training#2564
fitzjalen wants to merge 2 commits into
MIC-DKFZ:masterfrom
fitzjalen:use-better-checkpoint

Conversation

@fitzjalen
Copy link
Copy Markdown

Solution for issue: #2563

Instead of loading the latest checkpoint when the flag --c is handled, we will filter to get the most recent checkpoint. This could be the latest, best, or final checkpoint.

@fitzjalen fitzjalen changed the title Use latest checkpoint in training Use real latest checkpoint in training Oct 22, 2024
@FabianIsensee FabianIsensee self-assigned this Oct 28, 2024
@fitzjalen
Copy link
Copy Markdown
Author

@FabianIsensee please review it. As for me I always have to rename checkpoint if I stopped it before.

@FabianIsensee
Copy link
Copy Markdown
Member

FabianIsensee commented Jun 2, 2025

Hey I would prefer this logic would not use the file modification time as this can be flawed. If you want to make this logic more intelligent, please load the checkpoints and pick the one with the highest epoch

@FabianIsensee
Copy link
Copy Markdown
Member

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants