Comments (12)
In addition, the https://github.com/Deep-MI/FastSurfer/blob/master/Docker/Dockerfile has many python packages in it. Are they all present in requirements.txt? For example, I don't see cudatoolkit=10.0 "pytorch=1.2.0=py3.6_cuda10.0.130_cudnn7.6.2_0" torchvision=0.4.0
in requirements.txt.
from fastsurfer.
Potentially fixed by PR #18
from fastsurfer.
Even bigger trouble, why does requirements.txt
environment don't use GPU at all? Is it because of those missing packages?
@LeHenschel
In the former environment, I tried Example 1 and that is going on for 30 minutes now. top
shows 800% CPU usage while nvidia-smi
does not show any GPU usage, which in turn supports my finding.
from fastsurfer.
It looks like you made requirements.txt
from https://github.com/Deep-MI/FastSurfer/blob/master/Docker/Dockerfile_CPU#L67, not the GPU one.
from fastsurfer.
i meet the same question, Could not find a version that satisfies the requirement collections
, could you tell me how to solve this question? thank you @tashrifbillah
from fastsurfer.
from fastsurfer.
Sure, please build the requiresments.txt
from my PR #18.
from fastsurfer.
To be more specific, see my branch and follow the installation instruction I edited.
https://github.com/tashrifbillah/FastSurfer/tree/fix-requirements
from fastsurfer.
To be more specific, see my branch and follow the installation instruction I edited.
https://github.com/tashrifbillah/FastSurfer/tree/fix-requirements
Wow, I ran the program successfully using the method you provided. Thank you very much
from fastsurfer.
You are welcome @congzhaoyang , for whatever reason my PR didn't get any attention yet :)
from fastsurfer.
Hi, we are aware of this and will fix this in September (due to vacation time). Thanks
from fastsurfer.
Hey,
thank you for bringing this to our attention. I removed the unnecessary default packages (collections etc.) and included an extended description regarding the different pytorch version you can install.
As a matter of fact, the requirements.txt file does represent the GPU version of FastSurfer as can be seen here: https://github.com/Deep-MI/FastSurfer/blob/master/requirements.txt#L24
By default, pip will install torch v1.2.0 gpu version for CUDA 10.0. For the CPU version, this would be changed by adding +cpu to the end of the version definition for both torch and torchvision. Similarly, if you need a different CUDA version (e.g. if your NVIDIA-Driver only supports an older version) you have to specify this via the tag as well (see also instructions for v1.2.0 (Wheel) at: https://pytorch.org/get-started/previous-versions/#wheel-4):
# CUDA 10.0
pip install torch==1.2.0 torchvision==0.4.0
# CUDA 9.2
pip install torch==1.2.0+cu92 torchvision==0.4.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html
# CPU only
pip install torch==1.2.0+cpu torchvision==0.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
Now, for conda this process is done differently. Here, you specify the desired version via the cudatoolkit option, which is what we do in the Docker (see instructions for v1.2.0 (Conda) https://pytorch.org/get-started/previous-versions/#conda-4):
# CUDA 9.2
conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=9.2 -c pytorch
# CUDA 10.0
conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch
# CPU Only
conda install pytorch==1.2.0 torchvision==0.4.0 cpuonly -c pytorch
Hence, cudatoolkit=10.0 is not needed in requirements.txt. I now also added two yml-files for the gpu and cpu version of fastsurfer in which you can see the cudatoolkit defintion.
I hope this clears thing up and helps you running things smoothly.
Best,
Leonie
from fastsurfer.
Related Issues (20)
- CC values all 0 in aseg+DKT.stats HOT 5
- input image contains negative values and gpu memory issue HOT 6
- Issue creating symbolic links when running fastsurfer-gpu.sif HOT 6
- Error during smooth_aparc.py mode HOT 1
- Error during smooth_aparc.py mode_filter HOT 5
- Biasfield-corrected image input of the segstats.py HOT 4
- Use of '--rm' argument in build.py results in a TypeError HOT 4
- Is it possible to get segstats of cerebellum after run FastSurfer pipeline? HOT 3
- Some zeros in aseg.stats HOT 8
- Fooocus colab stopping with this error HOT 4
- FastSurfer surf pipeline did not finish: Missing .label files (not enough memory for mris_sample_parc) HOT 11
- conform.py bug HOT 2
- srun_fastsurfer.sh on HPC, surface pipeline fails for hundreds but works for tens of subjects HOT 8
- Question about content of wmparc.DKTatlas.mapped.mgz HOT 1
- Support for lesion masks? HOT 1
- Unmatched ROIs in predicted segmentation and provided FastSurfer_ColorLUT.tsv HOT 23
- FastSurfer Segmentation Modules: disable conformation of input image to isometric spaces HOT 5
- FastSurfer QuickSeg doesn't work with OASIS `.img` files HOT 3
- Docker build workflows HOT 5
- Model download issue HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastsurfer.