Skip to content

Commit

Permalink
Update requirements.txt and python version to be in line with sct-pip…
Browse files Browse the repository at this point in the history
  • Loading branch information
valosekj committed Oct 9, 2023
1 parent 114ad2c commit 688d1a0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions segment_sc_contrast-agnostic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Segment SC using contrast-agnostic MONAI model from PSIR contrast and perform ve
1. Create a conda virtual environment and install dependencies

```console
conda create -n monai python=3.8
yes | conda create -n monai python=3.9
conda activate monai
pip install -r segment_sc_contrast-agnostic/requirements.txt
yes | pip install -r segment_sc_contrast-agnostic/requirements.txt
```

2. Segment SC using the contrast-agnostic MONAI model from PSIR contrast and perform vertebral labeling
Expand Down
14 changes: 7 additions & 7 deletions segment_sc_contrast-agnostic/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
dynamic_network_architectures
joblib
loguru
monai[nibabel]
scipy
numpy
dynamic_network_architectures==0.2
joblib==1.3.0
loguru==0.7.0
monai[nibabel]==1.2.0
scipy==1.11.2
numpy==1.24.4
--extra-index-url https://download.pytorch.org/whl/cpu
torch
torch==2.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# sct_run_batch -config config.json
#
# Note: conda environment with MONAI is required to run this script:
# conda create -n monai python=3.8
# conda create -n monai python=3.9
# conda activate monai
# pip install -r segment_sc_contrast-agnostic/requirements.txt
#
Expand Down

0 comments on commit 688d1a0

Please sign in to comment.