Skip to content

Commit

Permalink
feat(ci): migrate from base to dedicated env for deepFCD
Browse files Browse the repository at this point in the history
  • Loading branch information
ravnoor committed Dec 15, 2024
1 parent 9702c7a commit 63baeac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-inference-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ jobs:
- name: Install dependencies for deepFCD
run: |
eval "$(conda shell.bash hook)"
conda create -n deepFCD python=3.8
python -m pip install -r ./app/requirements.txt
conda install -c conda-forge pygpu==0.7.6
pip cache purge
conda deactivate
- name: Download openneuro.org dataset to test the inference pipeline # https://openneuro.org/datasets/ds004199/versions/1.0.5
run: |
Expand All @@ -43,7 +46,7 @@ jobs:
- name: Run inference for deepFCD
run: |
./app/inference.py ${CI_TESTING_PATIENT_ID} t1.nii.gz flair.nii.gz ~/io cuda 1 1
conda run -n deepFCD ./app/inference.py ${CI_TESTING_PATIENT_ID} t1.nii.gz flair.nii.gz ~/io cuda 1 1
env:
CI_TESTING_PATIENT_ID: "sub-00055"
CI_TESTING_GT: "./tests/segmentations/sub-00055/sub-00055_label_dilated_final.nii.gz"
Expand Down

0 comments on commit 63baeac

Please sign in to comment.