Skip to content

Commit

Permalink
Fixed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterinaKrejci231054 authored and valosekj committed Aug 29, 2024
1 parent df4ce01 commit 7530121
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ segment_rootlets_if_does_not_exist(){
# https://github.com/ivadomed/model-spinal-rootlets/blob/main/packaging_ventral_rootlets/run_inference_single_subject.py
# NOTE: we use SCT python because it has nnUNet installed
# NOTE: the command below expects that you downloaded the model (https://github.com/ivadomed/model-spinal-rootlets/releases/tag/r20240523) and saved it to: ~/models/model-spinal-rootlets_ventral_D106_r20240523
$SCT_DIR/python/envs/venv_sct/bin/python /media/xkrejc78/Transcend/NeuroPoly_internship/code/model-spinal-rootlets/packaging_ventral_rootlets/run_inference_single_subject.py -i ${1}.nii.gz -o ${1}_label-rootlets_dseg.nii.gz -path-model /media/xkrejc78/Transcend/NeuroPoly_internship/models/model-spinal-rootlets_ventral_D106_r20240523/model-spinal-rootlets_ventral_D106_r20240523 -fold all
$SCT_DIR/python/envs/venv_sct/bin/python ~/code/model-spinal-rootlets/packaging_ventral_rootlets/run_inference_single_subject.py -i ${1}.nii.gz -o ${1}_label-rootlets_dseg.nii.gz -path-model ~/models/model-spinal-rootlets_ventral_D106_r20240523/model-spinal-rootlets_ventral_D106_r20240523 -fold all

fi
}
Expand Down

0 comments on commit 7530121

Please sign in to comment.