NifTK / NiftyNet

[unmaintained] An open-source convolutional neural networks platform for research in medical image analysis and image-guided therapy
http://niftynet.io
Apache License 2.0
1.36k stars 404 forks source link

How does the mask operation work? Train with Image/Label/Mask and test only with "image". #441

Closed maz369 closed 4 years ago

maz369 commented 4 years ago

Hello,

I am wondering how is the mask used during training and inference with Niftynet. Is this based on ROI pooling? I also appreciate if you could let me know which .py file incorporate the mask. I have been searching through Niftynet Python modules but could not find it. Also, is there any way to train a model with "image", "label" and "mask" but perform inference only on "image". There are instances that the label and mask for validation sets are not available and we have access only to the image and need to submit the result to a third party. Thanks for your help.

wyli commented 4 years ago

Hi @maz369 you can remove the line of config label=... in section [segmentation] during inference