tutorials
tutorials copied to clipboard
RandCropByPosNegLabeld() can't support two labels
Discussed in https://github.com/Project-MONAI/tutorials/discussions/1651
Originally posted by vectorzwt February 25, 2024 My task requires segmenting images from two time periods simultaneously, so my model needs to accept two inputs at the same time and get two results. When building a data set, I want to use the 'RandCropByPosNegLabeld' function to get the patch. Are there any good solutions to this problem?