Project-MONAI / Project-MONAI/MONAI
CLI command for inspecting checkpoints
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.7k
- Forks
- 1.6k
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 20
Description
Is your feature request related to a problem? Please describe.
python -m monai.bundle inspect_ckpt
to display some information about the variables and shapes saved. I saw similar util in tensorflow:
would also be good to have an option of computing hash value, it's used when creating a large_files.yml such as https://github.com/Project-MONAI/model-zoo/blob/dev/models/spleen_ct_segmentation/large_files.yml
cc @yiheng-wang-nv @Nic-Ma
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 from the python -m monai.bundle inspect_ckpt entry point and compare the requested output with TensorFlow's inspect_checkpoint.py. Use the checkpoint example in the issue and the model-zoo large_files.yml reference to define displaying saved variable information and shapes, plus an optional hash value; done means both inspection and hash output work from the CLI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, machine-learning
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100