Project-MONAI / Project-MONAI/MONAILabel
Export torch script when training, Allow to import it for inference
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 891
- Forks
- 269
- Avg merge
- 15h 41m
- Merged PRs (30d)
- 1
Description
Describe the solution you'd like
As user trains models, we are changing a lot of hyperparameters which includes number or layer in the network architecture and even change the model architecture completely. This requires user to track the model weight and architecture pairs in the inference.
Describe alternatives you've considered
We can export ts next to checkpoint models which holds the model weights
Additional context
- Exporting ts can affect performance so it should be a done at the end of the training.
- Need to accommodate for user stopping the training
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named in the issue. First clarify where training checkpoints are created and how inference loads models, then determine how export timing should handle performance and interrupted training. Done should include a defined TorchScript export and a documented way to import it for inference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100