livermask / demo /src /compute.py
andreped's picture
Added example CT to demo
13ee8c5
raw
history blame
237 Bytes
def run_model(input_path, model_name):
from livermask.utils.run import run_analysis
run_analysis(cpu=True, extension='.nii', path=input_path, output='prediction', verbose=True, vessels=False, name=model_name, mp_enabled=False)