Skip to content
Discussion options

You must be logged in to vote

if it's caused by the inconsistent shape of image1 and image2, I think you can try adding a monai.transforms.ResampleToMatchd("image2", "image1"), after loadimage. (converting this to a discussion for now)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jessie-chen99
Comment options

Answer selected by jessie-chen99
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
Converted from issue

This discussion was converted from issue #6901 on August 24, 2023 09:51.