Skip to content
Discussion options

You must be logged in to vote

Hi @XIANYUNYEHE-DEL ,

Thanks for your interest here and experiments.
I think that may be because your inverse transform computation is on GPU Tensor, could you please help add EnsureTyped(keys="image") to your preprocessing transform chain and try again? Refer to:
https://github.com/Project-MONAI/tutorials/blob/master/3d_segmentation/torch/unet_inference_dict.py#L61

Thanks in advance.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@XIANYUNYEHE-DEL
Comment options

@Nic-Ma
Comment options

Answer selected by XIANYUNYEHE-DEL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants