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

Allow napari GUI to accept custom weights #460

Merged
merged 3 commits into from
Oct 8, 2024

Conversation

IgorTatarnikov
Copy link
Member

@IgorTatarnikov IgorTatarnikov commented Oct 7, 2024

Before submitting a pull request (PR), please read the contributing guide.

Please fill out as much of this template as you can, but if you have any problems or questions, just leave a comment and we will help out :)

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?
See #459

What does this PR do?
Check if the trained_model ends in .h5. If so, warn the user, and load the weights into a default model.

References

closes #459

How has this PR been tested?

Tested locally with the model weights from the paper.

Is this a breaking change?

No.

Does this PR require an update to the documentation?

Yes, will come in a subsequent PR.

Checklist:

  • The code has been tested locally
  • Tests have been added to cover all new functionality (unit & integration)
  • The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit

@IgorTatarnikov IgorTatarnikov marked this pull request as draft October 7, 2024 17:59
@IgorTatarnikov IgorTatarnikov marked this pull request as ready for review October 8, 2024 10:46
@alessandrofelder alessandrofelder merged commit 894c285 into main Oct 8, 2024
15 of 17 checks passed
@alessandrofelder alessandrofelder deleted the weights-only-napari branch October 8, 2024 11:54
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.

[Feature] Load model weights via the napari GUI
2 participants