Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python requirements #43

Open
rcruces opened this issue Mar 1, 2023 · 1 comment
Open

python requirements #43

rcruces opened this issue Mar 1, 2023 · 1 comment

Comments

@rcruces
Copy link

rcruces commented Mar 1, 2023

Could you please provide or point me to the python package versions to build a local environment?

@dr-ir-joost
Copy link

Hi,

I created a conda enviroment using the following packages (I have a nvidia GPU with CUDA version 11.8):

conda create -p ~/SynB0-DISCO python=3.6
conda activate ~/SynB0-DISCO
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 <-- change this line if you have different GPU/CUDA version
pip3 install Pillow six nibabel scipy numpy==1.19

Afterwards, I cloned the Synb0-DISCO repo into the conda enviroment and adapted the /src/pipeline.sh and /data-processing/prepare_input.sh files such that my bin folders of FSL, FreeSurfer, ANTs are found. Note that you will also need the c3d_affine_tool, which is not provided by any of these other tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants