Code Monkey home page Code Monkey logo

Comments (4)

m-reuter avatar m-reuter commented on August 12, 2024

Maybe this did not copy correctly, but after the user flag you should put: --user $(id -u):$(id -g) also, because of the latest tag, we cannot see from this which version you are really running. It will not download the latest version if that tag already exists locally. It is safer to use (currently): deepmi/fastsurfer:gpu-v2.2.0 although probably that is the same version.

And can you post the full output? Is the only ERROR "Flag unrecognised"?

from fastsurfer.

farah-naz01 avatar farah-naz01 commented on August 12, 2024

(base) user1nrx@srv-imgrm-04:~/software_research/my_fastsurfer_analysis$ sudo docker run --gpus all -v /home/user1nrx/software_research/my_fastsurfer_analysis/data:/data -v /home/user1nrx/software_research/my_fastsurfer_analysis/output:/output -v /home/user1nrx/software_research/my_fastsurfer_analysis/freesurfer_license:/fs_license --entrypoint "/fastsurfer/brun_fastsurfer.sh" --rm --user $(id -u):$(id -g) deepmi/fastsurfer:latest --fs_license /fs_license/license.txt --sd /output --subject_list /data/subject_list.txt --parallel –threads 16 --3T --debug
/fastsurfer/brun_fastsurfer.sh --fs_license /fs_license/license.txt --sd /output --subject_list /data/subject_list.txt --parallel –threads 16 --3T --debug
Fri, 14 Jun 2024 09:21:20 +0000

---START DEBUG---
Debug parameters to script brun_fastsurfer:

subjects:
subject1=/data/sub-01/sub-01_T1w.nii subject2=/data/sub-02/sub-02_T1w.nii subject3=/data/sub-03/sub-03_T1w.nii subject4=/data/sub-04/sub-04_T1w.nii

task_id/task_count: /
running default

FastSurfer parameters:

--fs_license /fs_license/license.txt
--sd /output
--parallel –threads 16
--3T
Running in /usr/bin/bash

---END DEBUG ---
INFO: run_fastsurfer not explicitly specified, using $FASTSURFER_HOME/run_fastsurfer.sh.
DEBUG: subject 1: subject1=/data/sub-01/sub-01_T1w.nii
DEBUG: /fastsurfer/run_fastsurfer.sh --sid subject1 --t1 /data/sub-01/sub-01_T1w.nii --fs_license /fs_license/license.txt --sd /output --parallel –threads 16 --3T [&]
ERROR: Flag unrecognized.

from fastsurfer.

m-reuter avatar m-reuter commented on August 12, 2024

Does threads have only one "-" ? should be --threads 16

from fastsurfer.

farah-naz01 avatar farah-naz01 commented on August 12, 2024

No, its a copy paste problem. I used --threads.
But, I saw the same problem in issue #438, created by some else here, and I followed the solution that you suggested "using --seg_only and --surf_only".
It is working now.

from fastsurfer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.