Skip to content
Discussion options

You must be logged in to vote

Hi @schellenchris, since transforms in MONAI assume that the data is channel-first, so you need to add the channel dimension to the data before passing it into the transforms. Could you please try print(cropper(image[None]))?

Hope it can help you, thanks!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@schellenchris
Comment options

Answer selected by schellenchris
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