Closed MMelQin closed 2 years ago
I think the issue is from the v0.9.1 change of ToTensor
(the transform removes the meta dict in this version). In fact the images are now metatensors, ToTensor
is not needed anymore, so removing all the ToTensor
would probably address this issue, e.g. here https://github.com/Project-MONAI/monai-deploy-app-sdk/blob/1a8cf866dc34400c72a487f0a23a7577e3f52012/examples/apps/ai_unetr_seg_app/unetr_seg_operator.py#L117
I think the issue is from the v0.9.1 change of
ToTensor
(the transform removes the meta dict in this version). In fact the images are now metatensors,ToTensor
is not needed anymore, so removing all theToTensor
would probably address this issue, e.g. here
Thanks, yes, a separate issue was create to fix/update the code to migrate to MetaTensor. My plan is to get this PR to merge first and then circle back once the compatibility issue is addressed.
@MMelQin @dbericat @deepib - Thanks Ming ! When would this be fixed ?Please share ETA ?
@MMelQin @dbericat @deepib - Thanks Ming ! When would this be fixed ?Please share ETA ?
It will be released in App SDK 0.5, which has been delayed till early Oct due to the additional work for IHE Connectathon IAIP.
Hi @MMelQin ,
I just want to double confirm, will this early Oct release 0.5 be compatible with MONAI 1.0.0?
Thanks in advance.
Hi @MMelQin ,
I just want to double confirm, will this early Oct release 0.5 be compatible with MONAI 1.0.0?
Thanks in advance.
Yes, @Nic-Ma , the App SDK v0.5 needs to be compatible with MONAI 1.0.0.
Describe the bug
Steps/Code to reproduce bug
Given that monai v0.9.1 has been released and published, the App SDK needs to declare incompatibility with this version until the App SDK implementation is updated and tested working with monai 0.9.1.
Environment details (please complete the following information)
Additional context See attached log files from running the apps (to be attached), with a brief snippet shown below: