SaveImaged add feature for dictionary-based output postfix
See original GitHub issueI think it would be useful if the function monai.transforms.saveImaged
could accept output_postfix
parameter in the form of a dictionary.
The problem is that when it loads muiltiple data based on the keys
parameter, then all inputs are saved with the same output filename.
Having something like
output_postfix={'image':'_imgTrans', 'label':'_labTrans']
to save images and labels with different postfixes.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Transforms — MONAI 1.1.0 Documentation
Typically, the input data is model output of segmentation task or classification task. And it also can support to add weights for the...
Read more >PostfixBasicSetupHowto - Community Help Wiki
Introduction. This document will teach you how to set up a basic Postfix mail server with IMAP and POP3 services.
Read more >Applications — MONAI 1.0.0 Documentation
Dictionary-based wrapper of monai.apps.pathology.transforms. ... number of output feature maps is len(returned_layers)+1 returned_layers = [1,2,3] ...
Read more >matplotlib plot to image Code Example - Code Grepper
Add a Grepper Answer ... DataFrame(data.data, columns=data.features) · sklearn.utils.bunch to ... convert list of values to dictionary based on count ...
Read more >[Bug]: issues when using POSIX ACL for data directory - Nextcloud ...
SaveImaged add feature for dictionary-based output postfix, 8, 2022-03-23, 2022-09-05. Honoring ProxyCommand from ~/.ssh/config? 0, 2021-08-09, 2022-10-31.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah ok, you are right !!! But maybe it would make sense to accept dictionary-like meta data keys. Just an idea.
Thanks for the clarification. For me we can close the issue.
Hi @scarpma , the
keys
arg is also a list, the data is a dict.Thanks.