You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I want to reduce the number of labels I'm using during inference. For example, if my dataset.json contains 12 labels, I'd like to have nnUNet_predict only use 5 out of those 12 labels. I know when using CNN, the user can pass a config file that tells the inference script what labels to preserve and which to discard. Is a similar functionality present with nnUNet?
I'd ideally like to be able to set any labels not in a list to have a value of 0 after inference, or alternatively, have inference skip over those uncalled labels entirely. Any help would be appreciated. Thank you.
EDIT: Solved it by writing a script that loads the output generated by inference and sets "unneeded" labels to a value of 0 (background image)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I want to reduce the number of labels I'm using during inference. For example, if my
dataset.json
contains 12 labels, I'd like to havennUNet_predict
only use 5 out of those 12 labels. I know when using CNN, the user can pass a config file that tells the inference script what labels to preserve and which to discard. Is a similar functionality present with nnUNet?I'd ideally like to be able to set any labels not in a list to have a value of 0 after inference, or alternatively, have inference skip over those uncalled labels entirely. Any help would be appreciated. Thank you.
EDIT: Solved it by writing a script that loads the output generated by inference and sets "unneeded" labels to a value of 0 (background image)
Beta Was this translation helpful? Give feedback.
All reactions