Project-MONAI / Project-MONAI/MONAI
MILModel does not fully support torchscript
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 8.7k
- Forks
- 1.6k
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 20
Description
the test_script function in test_milmodel.py only covers the case where mil_mode is mean, and testing more modes will see errors.
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
Start with the test_script function in test_milmodel.py and compare its current mil_mode coverage, which only includes mean. Run the test before changing it, then exercise the other modes and make the test pass without errors for each supported mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning, testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100