DDMR / demo /src /compute.py
andreped's picture
Added bug fixes to the demo
49b38ba unverified
raw
history blame
258 Bytes
import subprocess as sp
def run_model(fixed_path, moving_path, output_path, task):
sp.check_call(["ddmr", "--fixed", fixed_path, "--moving", moving_path, \
"-o", output_path, "-a", task, "--model", "BL-NS", "--original-resolution"])