-
Notifications
You must be signed in to change notification settings - Fork 1.5k
data list utility enhancement #4173
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Is your feature request related to a problem? Please describe.
the current data list utility assumes that when the key is "test", the data is a list of filenames.
MONAI/monai/data/decathlon_datalist.py
Lines 125 to 126 in ed1c281
| if data_list_key == "test": | |
| expected_data = [{"image": i} for i in expected_data] |
would be great to optionally support the testing data in the form of a list of dictionaries, to be consistent with the 'training' list, for example,
"test":
[
{'image': '/workspace/data/chest_19.nii.gz', 'othermetafield': 0},
{'image': '/workspace/data/chest_31.nii.gz', 'othermetafield': 1}
]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request