Closed NathanMolinier closed 1 week ago
I'm trying to run spineps on my mac using the flag the recently added flag -cpu and I get an error.
-cpu
pip install -e .
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
git checkout v1.0.8
spineps sample -i ./test/sub-amu01_T1w.nii.gz -model_semantic t1w_segmentor -model_instance inst_vertebra_3.0 -dn derivatives -cpu
Fixed with #22
Description
I'm trying to run spineps on my mac using the flag the recently added flag
-cpu
and I get an error.To reproduce
pip install -e .
in the venvpip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
git checkout v1.0.8
spineps sample -i ./test/sub-amu01_T1w.nii.gz -model_semantic t1w_segmentor -model_instance inst_vertebra_3.0 -dn derivatives -cpu