-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] update docker image #70
Conversation
Remi-Gau
commented
May 22, 2023
- change of base distro
- update python to 3.10
- update bids validator to 1.9.9
- update and pin version packages for defacing
closes #68 |
blocked by ReproNim/neurodocker#532 |
with this docker run --rm repronim/neurodocker:0.9.5 generate docker \
--base-image bids/base_validator:1.11.0 \
--yes \
--pkg-manager apt \
--install git num-utils gcc g++ curl build-essential nano\
--miniconda \
version=latest \
conda_install="python=3.10 numpy nipype nibabel pandas datalad git-annex" \
pip_install="deepdefacer scikit-learn tensorflow scikit-image pydeface==2.0.2 nobrainer==0.4.0 quickshear==1.2.0 datalad-osf" \
--run-bash "mkdir -p /opt/nobrainer/models && cd /opt/nobrainer/models && datalad clone https://github.com/neuronets/trained-models && cd trained-models && git-annex enableremote osf-storage && datalad get -s osf-storage ." \
--run-bash "git clone https://github.com/mih/mridefacer" \
--env MRIDEFACER_DATA_DIR=/mridefacer/data \
--run-bash "mkdir /home/mri-deface-detector && cd /home/mri-deface-detector && npm install sharp --unsafe-perm && npm install -g mri-deface-detector --unsafe-perm && cd ~" \
--run-bash "git clone https://github.com/miykael/gif_your_nifti && cd gif_your_nifti && source activate bidsonym && python setup.py install" \
--fsl version=6.0.6.4 method=binaries \
--copy . /home/bm \
--run-bash "chmod a+x /home/bm/bidsonym/fs_data/mri_deface" \
--run-bash "source activate bidsonym && cd /home/bm && pip install -e ." \
--env IS_DOCKER=1 \
--workdir '/tmp/' \
--entrypoint "/neurodocker/startup.sh bidsonym" we get:
seems deepfacer is using an antiquated version of scikit-learn |
Hey @Remi-Gau -- did you approach this since then or what do you use for your defacing needs these days? ;-) |
nope: not retried |
Hi @Remi-Gau, are you in CET or EST right now? We could chat one of these, as I would also like to solve and ideally move this to workflows. Thanks! Cheers, Peer |
Brussel based. Could chat during the OHBM period. |