-
Notifications
You must be signed in to change notification settings - Fork 1.5k
allows for single key in ConcatItemsd #1881
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hi everyone I'm using ConcatItemsd for concatenating the inputs from multi-modalities images. During development sometimes I adjust the number of modalities of inputs, even to single modality. However I found that ConcatItemsd in monai currently does not allow this, with an exception raised here.
This restriction is inconvenient for me and personally I can't find the point of this restriction because both numpy.concatenate and torch.cat work fine with an input list of length 1. I'd like to hear your opinions on this :)
Originally posted by @function2-llx in #1880
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request