I use Unet2d to segment Myo in CMR. I want to keep the largest region. But it did't work in testing process.
Here is my train_val.cfg and test.cfg files.
Oh, i have figured it out. I use the code from MyoPS2020-UESTC repo. The KeepLargestComponent operation is achieved by run the script python postprocess ....
I use Unet2d to segment Myo in CMR. I want to keep the largest region. But it did't work in testing process. Here is my train_val.cfg and test.cfg files.