Comments (15)
What is your pytorch version?
from clinicadl.
Hi,
thanks for your interest in clinicadl!
I just updated the main README.md file with the current versions for dependencies (clinica >=0.3.2 and Pytorch >= 1.1.0).
Did you follow the instructions described there?
In resume:
conda create --name clinicadl_env python=3.6 jupyter
conda activate clinicadl_env
conda install -c aramislab -c conda-forge clinica
git clone [email protected]:aramis-lab/AD-DL.git
cd AD-DL
pip install -r requirements.txt
conda install -c pytorch pytorch torchvision
then install clinicadl
inside your active environment
cd clinicadl
pip install -e .
I hope that this can works. Otherwise, send me the output message of the error.
from clinicadl.
File "/home/AD-DL/clinicadl/clinicadl/preprocessing/T1_linear.py", line 25, in preprocessing_t1w
from clinica.utils.inputs import check_bids_folder
ImportError: No module named clinica.utils.inputs
from clinicadl.
What is the structure of these two directories?
from clinicadl.
File "/home/AD-DL/clinicadl/clinicadl/preprocessing/T1_linear.py", line 25, in preprocessing_t1w
from clinica.utils.inputs import check_bids_folder
ImportError: No module named clinica.utils.inputs
Could you please show me the output of these commands
conda activate clinicadl_env
conda list | grep "clinica"
?
from clinicadl.
File "/home/AD-DL/clinicadl/clinicadl/preprocessing/T1_linear.py", line 25, in preprocessing_t1w
from clinica.utils.inputs import check_bids_folder
ImportError: No module named clinica.utils.inputsCould you please show me the output of these commands
conda activate clinicadl_env conda list | grep "clinica"
?
from clinicadl.
What is the structure of these two directories?
BIDS_DIR
is the input dir. BIDS (Brain Imaging Data Structure) is the standard adopted for the organisation of the datasets. You can look for a detailed description in the official link or here.
CAPS_DIR
for the preprocessing is the output dir. The caps structure is detailed here.
from clinicadl.
File "/home/AD-DL/clinicadl/clinicadl/preprocessing/T1_linear.py", line 25, in preprocessing_t1w
from clinica.utils.inputs import check_bids_folder
ImportError: No module named clinica.utils.inputsCould you please show me the output of these commands
conda activate clinicadl_env conda list | grep "clinica"
?
It seems that you haven't installed clinicadl
(inside the clinicadl_env
environment). What's the exact command that generates the error ?
from clinicadl.
File "/home/AD-DL/clinicadl/clinicadl/preprocessing/T1_linear.py", line 25, in preprocessing_t1w
from clinica.utils.inputs import check_bids_folder
ImportError: No module named clinica.utils.inputsCould you please show me the output of these commands
conda activate clinicadl_env conda list | grep "clinica"
?
It seems that you haven't installed
clinicadl
(inside theclinicadl_env
environment). What's the exact command that generates the error ?
from clinicadl.
I think that there is a problem with your $PYTHONPATH, the path where Python search for installed libraries.
I replicated the installation steps in a fresh new installation (an Ubuntu machine) and normally the output of the command conda list | grep "clinica"
should show these lines:
# packages in environment at /Users/mdiaz/conda/envs/clinicadl_env:
clinica 0.3.2 py36_0 aramislab
clinicadl 0.0.1 dev_0 <develop>
Proposed you to delete your conda environment and create a new one, following the installation instructions in strict order.
from clinicadl.
I think that there is a problem with your $PYTHONPATH, the path where Python search for installed libraries.
I replicated the installation steps in a fresh new installation (an Ubuntu machine) and normally the output of the command
conda list | grep "clinica"
should show these lines:# packages in environment at /Users/mdiaz/conda/envs/clinicadl_env: clinica 0.3.2 py36_0 aramislab clinicadl 0.0.1 dev_0 <develop>
Proposed you to delete your conda environment and create a new one, following the installation instructions in strict order.
Thank you very much. I'll try
from clinicadl.
Hi,The data preprocessor can run normally, but there will be errors in the process。
File "/home/geng/anaconda3/envs/clinicadl_env/lib/python3.6/site-packages/nipype/pipeline/plugins/tools.py", line 82, in report_nodes_not_run
raise RuntimeError(('Workflow did not execute cleanly. '
RuntimeError: Workflow did not execute cleanly. Check log for details
from clinicadl.
This is an error message
Traceback (most recent call last):
File "/home/geng/anaconda3/envs/clinicadl_env/bin/clinicadl", line 11, in
load_entry_point('clinicadl', 'console_scripts', 'clinicadl')()
File "/home/geng/PycharmProjects/AD-DL/clinicadl/clinicadl/main.py", line 23, in main
args.func(args)
File "/home/geng/PycharmProjects/AD-DL/clinicadl/clinicadl/cli.py", line 11, in preprocessing_t1w_func
wf.run(plugin='MultiProc', plugin_args={'n_procs': args.nproc})
File "/home/geng/anaconda3/envs/clinicadl_env/lib/python3.6/site-packages/nipype/pipeline/engine/workflows.py", line 595, in run
runner.run(execgraph, updatehash=updatehash, config=self.config)
File "/home/geng/anaconda3/envs/clinicadl_env/lib/python3.6/site-packages/nipype/pipeline/plugins/base.py", line 192, in run
report_nodes_not_run(notrun)
File "/home/geng/anaconda3/envs/clinicadl_env/lib/python3.6/site-packages/nipype/pipeline/plugins/tools.py", line 82, in report_nodes_not_run
raise RuntimeError(('Workflow did not execute cleanly. '
RuntimeError: Workflow did not execute cleanly. Check log for details
from clinicadl.
Can you inspect the crash file (it is normally generated in the folder where you launch the application clinicadl
) ? You can do this using this command: nipypecli crash crashfile-date-time.pklz
Notice that to execute preprocessing you need to have ANTs previously installed.
from clinicadl.
Dear user,
Are you still facing this issue? You opened another issue (issue #6) so I was wondering if we could close this issue.
Best,
Alexandre
from clinicadl.
Related Issues (20)
- Optimize the use of Pandas
- New command to get metadata
- Enhance `analysis` command
- Change acquisition label to tracer in command line
- Add references to doc
- Add new SOTA models
- Fix list_models function HOT 1
- Problem with patch and slices when images are not in the CAPS
- Quality check HOT 2
- Vulnerability in PyTorch until release 1.13.1 HOT 1
- Remove access to the web server HOT 1
- remove possibility to load data in the `ressources` folder
- Problem with poetry install HOT 1
- Add tensor_extraction folder in synthetic CAPS.
- Problem with the order of commands for `get-labels` and `get-progression` HOT 1
- Issue with `get-labels` when finding the output of `clinica iotools missing-modalities` HOT 1
- clinicadl tsvtools get-labels not forming the merged.tsv file automatically HOT 1
- TypeError: _get_tsv_paths() got an unexpected keyword argument 'split'
- KeyError: 'CN'
- Training with rois RuntimeError: Trying to resize storage that is not resizable HOT 1
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 clinicadl.