-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add modules and pipeline for Auto3D #4743
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
Comments
5 tasks
wyli
pushed a commit
that referenced
this issue
Aug 26, 2022
### Description Implemented a DataAnalyzer class to encapsulate data analysis module. As the beginning part of the auto3d/automl pipeline, the module shall find data and label from user inputs and generate a summary (dictionary) of data stats. The summary includes - file names, list, number of files; - dataset summary (basic information, image dimensions, number of classes, etc.); - individual data information (spacing, image size, number and size of the regions, etc.). The summary can be exported as a YAML file and a dictionary variable for use in Python Example Usage: ```python from monai.apps.auto3d.data_analyzer import DataAnalyzer datalist = { "testing": [{"image": "image_003.nii.gz"}], "training": [ {"fold": 0, "image": "image_001.nii.gz", "label": "label_001.nii.gz"}, {"fold": 0, "image": "image_002.nii.gz", "label": "label_002.nii.gz"}, {"fold": 1, "image": "image_001.nii.gz", "label": "label_001.nii.gz"}, {"fold": 1, "image": "image_004.nii.gz", "label": "label_004.nii.gz"}, ], } dataroot = '/datasets' # the directory where you have the image files (in this example we're using nii.gz) analyser = DataAnalyzer(datalist, dataroot) datastat = analyser.get_all_case_stats() # it will also generate a data_stats.yaml that saves the stats ``` ### Status Ready for Review Reference issue #4743. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [x] New tests added to cover the changes. - [x] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [x] In-line docstrings updated. - [x] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: Mingxin Zheng <[email protected]>
Closing this issue because Auto3Dseg was successfully merged into the dev branch and released in MONAI 1.0 . |
Repository owner
moved this from In Progress
to Done
in MONAI v1.0
Sep 23, 2022
Design Diagram of Auto3DSeg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
Motivation: Automating selection of deep neural network training pipelines with the following specific requirements:
Describe the solution you'd like
Progress: #4765
Usage Proposal
https://github.com/mingxin-zheng/tutorials/blob/auto3d-1.0/auto3d/README.md
Tasks
The text was updated successfully, but these errors were encountered: