MASILab / Synb0-DISCO

Distortion correction of diffusion weighted MRI without reverse phase-encoding scans or field-maps
https://my.vanderbilt.edu/masi
58 stars 29 forks source link

c3d_affine_tool: command not found #54

Closed dr-ir-joost closed 2 months ago

dr-ir-joost commented 1 year ago

I am using the non-containerized version of Synb0-DISCO, which according to the instructions only needs FSL, FreeSurfer, ANTs and Python. After setting the correct paths to the bin-folders of FSL, FreeSurfer, ANTs and Python/Pytorch and adapting /src/pipeline.sh and /data_processing/prepare_input.sh accordingly, there are a few issues which I think are noteworthy: 1) it seems that the script prepare_input.sh requires c3d_affine_tool. This tool is not included in FSL, FreeSurfer, ANTs or Python. Please update the instructions that c3d_affine_tool is also required. 2) pipeline.sh has a reference to the path /dual_channel_unet, but this does not exist. This needs to be changed to /src/train_lin (or please provide the dual_channel_unet folder). 3) the inference.py script gives an error when it is being executed in an environment in which the CPU version of Pytorch is installed. After creating a conda environment with appropriate drivers and the Pytorch version that runs on GPU, this is error is solved.

BennettLandman commented 2 months ago

I am closing the older bug reports as these were missed. We are now better tracking reports across the organization. Please re-open if this continues to be a blocker.