SaveImage error for multilabel Swin UNet: 'Tensor' object has no attribute 'affine' #1518
Replies: 2 comments 3 replies
-
Hi @esther1262, could you please check your MONAI version and maybe use 1.2 or the weekly version to try it again? |
Beta Was this translation helpful? Give feedback.
-
Hi @KumoLiu
This discussion Project-MONAI/MONAI#4280 suggested When I used |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I ran a swin UNet for 3 labels segmentation. Everything was fine including inference on test set. But when I tried to save the predicted results, I ran into issues. Can anyone help? I included the codes seems to be most relevant.
Error:
Beta Was this translation helpful? Give feedback.
All reactions