File size: 171 Bytes
7c1e417
 
74ebf3e
1
2
3
4
def run_model(input_path):
    from lungtumormask import mask
    mask.mask(input_path, "./prediction.nii.gz", lung_filter=True, threshold=0.5, radius=1, batch_size=1)