Closed KumoLiu closed 11 months ago
Update all related bundles including AddChannel
and AsChannelFirst
and verify them except for "ventricular_short_axis_3label" since I didn't have suitable data to test. cc @ericspod, could you please help update this one and verify it? Thanks!
Hi @KumoLiu how much data did you need? I can save the output for the example (256, 256) 2D image if that's enough.
Hi @KumoLiu how much data did you need? I can save the output for the example (256, 256) 2D image if that's enough.
Hi @ericspod, yeah, that would be great, just one test data with the same format used in the bundle is okay. Thanks in advance!
SC-N-2-3-0_seg.zip
This is the output of the network converted to uint8 labels. This follows the notebook in the docs
directory and should be enough to test the output of the network.
SC-N-2-3-0_pred.zip This is the raw output tensor from the network if you want to use this instead.
I may leave "ventricular_short_axis_3label" this bundle in this PR. It still using the API before v0.6. https://github.com/Project-MONAI/model-zoo/blob/a9acb18ad12af9f1829402a806300a5a5f917371/models/ventricular_short_axis_3label/configs/train.json#L102
Not easy to update this one, when I remove the as_tensor_output
, AddChannel
and specify data_type
in EnsureType
, it throws the error below.
Update: fixed
I may leave "ventricular_short_axis_3label" this bundle in this PR. It still using the API before v0.6.
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 as_tensor_output
argument was meant to fix, it might have been MetaTensor related.
I may leave "ventricular_short_axis_3label" this bundle in this PR. It still using the API before v0.6. https://github.com/Project-MONAI/model-zoo/blob/a9acb18ad12af9f1829402a806300a5a5f917371/models/ventricular_short_axis_3label/configs/train.json#L102
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
as_tensor_output
argument was meant to fix, it might have been MetaTensor related.
Yes, it works now. Thanks!
/build
/build
/build
/build
/build
/build
/build
/build
Fixes https://github.com/Project-MONAI/MONAI/issues/7036. Fixes https://github.com/Project-MONAI/model-zoo/issues/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"
).