Skip to content

Visualization of model evaluation - Plot all labels at same time #617

Answered by Nic-Ma
HripsimeS asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @HripsimeS ,

Thanks for your interest and experiments here.
The key feature here to convert the spacing is the Invertd transform:

Invertd(
    keys="pred",
    transform=val_org_transforms,
    orig_keys="image",
    meta_keys="pred_meta_dict",
    orig_meta_keys="image_meta_dict",
    meta_key_postfix="meta_dict",
    nearest_interp=False,
    to_tensor=True,
)

Could you please help check whether your logic is correct about inverting?
@yiheng-wang-nv May help analyze more details if you still have issues.

Thanks in advance.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@HripsimeS
Comment options

@yiheng-wang-nv
Comment options

@HripsimeS
Comment options

@yiheng-wang-nv
Comment options

@HripsimeS
Comment options

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