Fix: correct the early return error when save_epochs=1 and optimize the clean up way by xiu-cs · Pull Request #2793 · DeepLabCut/DeepLabCut

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@xiu-cs

Copy link

Contributor

@xiu-cs xiu-cs commented

Nov 21, 2024

edited

Loading

  • Fixed an issue causing an incorrect early return when save_epochs=1.
  • clean up old snapshots if the number of existing snapshots exceeds the maximum allowed (executed at the end of the process).

Special thanks to @n-poulsen for your invaluable guidance! 🙏

@n-poulsen n-poulsen self-requested a review

November 22, 2024 10:19
Copy link

Contributor

@n-poulsen n-poulsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome thank you @xiu-cs! Just requested a few minor changes and some linting :)

xiu-cs and others added 2 commits

November 22, 2024 13:47
Copy link

Contributor

@n-poulsen n-poulsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks @xiu-cs!

@n-poulsen n-poulsen merged commit 73ddd56 into DeepLabCut:pytorch_dlc

Nov 25, 2024

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

Reviewers

1 more reviewer

@n-poulsen n-poulsen n-poulsen approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@xiu-cs @n-poulsen