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

Add PyTorch Checkpoint Export and Load #1865

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

patrickcleeve2
Copy link

@patrickcleeve2 patrickcleeve2 commented Dec 28, 2023

Similar to #1826, it would be conveient to be able to share a single .pt checkpoint file.

This PR adds:

  • Exporter cli for exporting a trained nnunet model as a single pytorch checkpoint file.
  • Reader for loading trained nnunet model from a single pytorch checkpoint file.

There is already the zip exporter, but that has a lot of additional data that isn't required if you only want to use the model for inference.

@FabianIsensee FabianIsensee self-assigned this Dec 28, 2023
@patrickcleeve2 patrickcleeve2 marked this pull request as ready for review December 28, 2023 05:38
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