dirac-docker #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dirac-docker | |
on: | |
# push: | |
# branches: [ "dev" ] | |
# pull_request: | |
# branches: [ "dev" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: dirac | |
steps: | |
- uses: actions/checkout@v4 | |
# - name: Set up Python 3.10 | |
# uses: actions/setup-python@v3 | |
# with: | |
# python-version: "3.10" | |
- name: Run the Docker image | |
run: | | |
docker pull deepmi/fastsurfer | |
# PYTHONPATH=<FastSurferRoot> | |
# python build.py --device cuda --tag my_fastsurfer:cuda | |
docker run --gpus all -v /localmount/volume-ssd/users/abdullaht/my_mri_data:/data \ | |
-v /localmount/volume-ssd/users/abdullaht/my_fastsurfer_analysis:/output \ | |
-v /localmount/volume-ssd/users/abdullaht/my_fs_license_dir:/fs_license \ | |
--rm --user $(id -u):$(id -g) deepmi/fastsurfer:latest \ | |
--fs_license /fs_license/license.txt \ | |
--t1 /data/subjectX/t1-weighted.nii.gz \ | |
--sid subjectX --sd /output \ | |
--parallel |