Skip to content

GUI selection for SGD/RAdam Training#1022

Merged
carsen-stringer merged 2 commits intoMouseLand:mainfrom
ian-coccimiglio:gui_radam
Oct 22, 2024
Merged

GUI selection for SGD/RAdam Training#1022
carsen-stringer merged 2 commits intoMouseLand:mainfrom
ian-coccimiglio:gui_radam

Conversation

@ian-coccimiglio
Copy link
Copy Markdown
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
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