Skip to content

Differences between MONAI and MONAILabel Segmentation Prediction #681

Answered by egrabke
egrabke asked this question in Q&A
Discussion options

You must be logged in to vote

So I copied the MONAI transforms directly to MONAILabel pre-transforms and then overwrote the inverse_transforms method as:

def inverse_transforms(self):
    return []

I still need restored() but model now outputs exactly as expected! Thank you both for your help!

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
0 replies
Answer selected by SachidanandAlle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants