Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI selection for SGD/RAdam Training #1022

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

ian-coccimiglio
Copy link
Contributor

@ian-coccimiglio ian-coccimiglio commented Oct 4, 2024

On the image.sc forum, user Brian Northan and I have found questions regarding zero masks being found during Cellpose GUI model training. Issues reported: 1, 2, and 3.

We reason that the SGD solver might be overly restrictive. Based on Brian's and my testing here, it seems that at least at low epoch numbers, certain sets of training images will result in 0 masks while using SGD.

This PR also addresses/closes issues #947 and #1017

As such, this PR adds a QCheckBox which defaults to SGD, but allows users to choose the option of the RAdam solver. It follows the same pattern as other parameters and I was able to use it successfully.

@carsen-stringer carsen-stringer merged commit af081e7 into MouseLand:main Oct 22, 2024
1 of 10 checks passed
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