-
Notifications
You must be signed in to change notification settings - Fork 68
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
Update AddChannel
, AsChannelFirst
with EnsureChannelFirst
#509
Update AddChannel
, AsChannelFirst
with EnsureChannelFirst
#509
Conversation
Signed-off-by: KumoLiu <[email protected]>
Update all related bundles including |
Hi @KumoLiu how much data did you need? I can save the output for the example (256, 256) 2D image if that's enough. |
… ensurechannelfirst Signed-off-by: KumoLiu <[email protected]>
SC-N-2-3-0_seg.zip SC-N-2-3-0_pred.zip |
Signed-off-by: KumoLiu <[email protected]>
I may leave "ventricular_short_axis_3label" this bundle in this PR.
Not easy to update this one, when I remove the Update: fixed error message
opt/pytorch/pytorch/aten/src/ATen/native/cuda/ScatterGatherKernel.cu:365: operator(): block: [64,0,0], thread: [63,0,0] Assertion `idx_dim >= 0 && idx_dim < index_size && "index out of bounds"` failed.
2023-10-11 03:38:01,405 - ignite.engine.engine.SupervisedTrainer - ERROR - Current run is terminating due to exception: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
2023-10-11 03:38:01,430 - ignite.engine.engine.SupervisedTrainer - ERROR - Engine run is terminating due to exception: CUDA error: device-side assert triggered 2023-10-11 03:38:01,431 - ignite.engine.engine.SupervisedTrainer - INFO - Deleted previous saved final checkpoint: model_final_iteration=1.pt |
Signed-off-by: KumoLiu <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
Is this totally fixed now? I think the error you have is from some issue on the platform side or something with the versions of Pytorch and/or CUDA. I don't remember what the |
Yes, it works now. Thanks! |
Signed-off-by: KumoLiu <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
…-zoo into ensurechannelfirst
Signed-off-by: KumoLiu <[email protected]>
/build |
Signed-off-by: KumoLiu <[email protected]>
/build |
Signed-off-by: KumoLiu <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
/build |
Signed-off-by: KumoLiu <[email protected]>
/build |
/build |
/build |
/build |
Signed-off-by: KumoLiu <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
/build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, it looks good to me.
Part of #509. ### Status **Ready** ### Please ensure all the checkboxes: <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Codeformat tests passed locally by running `./runtests.sh --codeformat`. - [ ] In-line docstrings updated. - [x] Update `version` and `changelog` in `metadata.json` if changing an existing bundle. - [ ] Please ensure the naming rules in config files meet our requirements (please refer to: `CONTRIBUTING.md`). - [ ] Ensure versions of packages such as `monai`, `pytorch` and `numpy` are correct in `metadata.json`. - [ ] Descriptions should be consistent with the content, such as `eval_metrics` of the provided weights and TorchScript modules. - [ ] Files larger than 25MB are excluded and replaced by providing download links in `large_file.yml`. - [ ] Avoid using path that contains personal information within config files (such as use `/home/your_name/` for `"bundle_root"`). --------- Signed-off-by: KumoLiu <[email protected]> Co-authored-by: Wenqi Li <[email protected]>
…ect-MONAI#509) Fixes Project-MONAI/MONAI#7036. Fixes Project-MONAI#517. ### Description - Update `AddChannel`, `AsChannelFirst` with `EnsureChannelFirst`. - Update `workflow` to `workflow_type` - Review deprecated _meta_dict API usage ### Status **Work in progress** ### Please ensure all the checkboxes: <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Codeformat tests passed locally by running `./runtests.sh --codeformat`. - [ ] In-line docstrings updated. - [ ] Update `version` and `changelog` in `metadata.json` if changing an existing bundle. - [ ] Please ensure the naming rules in config files meet our requirements (please refer to: `CONTRIBUTING.md`). - [ ] Ensure versions of packages such as `monai`, `pytorch` and `numpy` are correct in `metadata.json`. - [ ] Descriptions should be consistent with the content, such as `eval_metrics` of the provided weights and TorchScript modules. - [ ] Files larger than 25MB are excluded and replaced by providing download links in `large_file.yml`. - [ ] Avoid using path that contains personal information within config files (such as use `/home/your_name/` for `"bundle_root"`). --------- Signed-off-by: KumoLiu <[email protected]> Co-authored-by: Wenqi Li <[email protected]> Co-authored-by: Yiheng Wang <[email protected]>
Part of Project-MONAI#509. ### Status **Ready** ### Please ensure all the checkboxes: <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Codeformat tests passed locally by running `./runtests.sh --codeformat`. - [ ] In-line docstrings updated. - [x] Update `version` and `changelog` in `metadata.json` if changing an existing bundle. - [ ] Please ensure the naming rules in config files meet our requirements (please refer to: `CONTRIBUTING.md`). - [ ] Ensure versions of packages such as `monai`, `pytorch` and `numpy` are correct in `metadata.json`. - [ ] Descriptions should be consistent with the content, such as `eval_metrics` of the provided weights and TorchScript modules. - [ ] Files larger than 25MB are excluded and replaced by providing download links in `large_file.yml`. - [ ] Avoid using path that contains personal information within config files (such as use `/home/your_name/` for `"bundle_root"`). --------- Signed-off-by: KumoLiu <[email protected]> Co-authored-by: Wenqi Li <[email protected]>
Fixes Project-MONAI/MONAI#7036.
Fixes #517.
Description
AddChannel
,AsChannelFirst
withEnsureChannelFirst
.workflow
toworkflow_type
Status
Work in progress
Please ensure all the checkboxes:
./runtests.sh --codeformat
.version
andchangelog
inmetadata.json
if changing an existing bundle.CONTRIBUTING.md
).monai
,pytorch
andnumpy
are correct inmetadata.json
.eval_metrics
of the provided weights and TorchScript modules.large_file.yml
./home/your_name/
for"bundle_root"
).