Project-MONAI / Project-MONAI/MONAI
Make dictionary transforms support different random parameters across keys
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.
For current dictionary transforms, the random parameters are shared across keys.
Describe the solution you'd like
An option to have separate random parameters would be useful for non input-target dictionary structure. Eg: for dicts that contain views in self-supervised learning. An additional key to the random dict transforms would be ideal
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 monai/transforms/intensity/dictionary.py around line 1401 and monai/transforms/croppad/dictionary.py around line 405, then trace how random parameters are generated and shared between keys. Define the separate-parameter option for dictionary transforms, including the additional random-dictionary key described in the issue, and verify that existing shared-parameter behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100