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

removed net_avg parameter from model call and widget #51

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jo-mueller
Copy link

Fixes #50

Dear maintainers @carsen-stringer @psobolewskiPhD

This PR

  • removes the apparently deprecated keyword argument net_avg from the call to the cellpose model.
  • Removes the checkbox from the widget
  • Pins the cellpose version to the latest version or newer (>=3.0.7)

I am not entirely sure when exactly net_avg was deprecated but didn't want to go back all the version to find it - hope that's okay :)

Copy link
Collaborator

@tlambert03 tlambert03 left a comment

Choose a reason for hiding this comment

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

I can merge this, but going forward, I think it might be time to put an "archived" or "unmaintained" notice on the readme here if @carsen-stringer also doesn't have time for this plugin.

I suspect they are putting their efforts into their own gui, which is understandable

@@ -22,7 +22,7 @@ packages = find:
install_requires =
napari
napari-plugin-engine>=0.1.4
cellpose>0.6.3
cellpose>=3.0.7
Copy link
Collaborator

Choose a reason for hiding this comment

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

Given that nobody is watching this repo, you might consider a stricter pin here to avoid similar incompatibilities in the future

@psobolewskiPhD
Copy link
Contributor

psobolewskiPhD commented May 8, 2024

I guess the other option is to pin the other way, setting upper bound to the last cellpose 2?

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.

TypeError: eval() got an unexpected keyword argument 'net_avg'
3 participants