Duplicates of trained models in GUI drop-down custom model menu [BUG]
Hello!
I'm currently training cellpose from a pre-trained model, and have been working over the span of multiple days. When I start open cellpose each day, I start training a new model based on the one I was working with the day before (so in my models folder I have 4 total models). However, in the custom model drop-down menu in the GUI, there is a long list with multiples of those 4 models.
I'm unsure if they are saving multiple times, or why there are multiple.
Any ideas how to fix this?
Thanks!
Hi can post screenshots that capture this behavior? Every time you do training, a new model file will be generated.
I am also facing the same issue and don't know how to fix it/avoid it. In the file where I have my models, I only have one model.
I would like to second this - I also frequently get duplicates in my list of models. Please have a look at the screenshot below (sorry for the cut-off text, this is due to scaling on a 4K screen). The other issue is that even though I used the "Remove selected custom model from GUI" menu option, they come back.
As you said, @mrariden, Cellpose creates a new file when a model is trained - but if that is saved under a previously used name, it replaces the existing file and then should not be added to the menu again.
It would be great to have an option to clear the menu completely and then only manually add back what we need, or to scan the ~/.cellpose/models folder and import what is there.