Code Monkey home page Code Monkey logo

Comments (3)

mdiazmel avatar mdiazmel commented on June 3, 2024

Hi,

Can you tell us exactly the command line that you entered and the error message that you got it?
In the meanwhile try to verify the following items:

  • You are running clinicadl with the most recent commit from the master branch of the repository.
  • Add the option --use_extracted_patches to your command line.

Thanks,

from clinicadl.

921974496 avatar 921974496 commented on June 3, 2024

Hi,

Can you tell us exactly the command line that you entered and the error message that you got it?
In the meanwhile try to verify the following items:

  • You are running clinicadl with the most recent commit from the master branch of the repository.
  • Add the option --use_extracted_patches to your command line.

Thanks,
This is the command I entered:
clinicadl train patch cnn /home/geng/ADNI2/caps t1-linear /home/geng/ADNI2/tsv /home/geng/ADNI2/resault "Conv4_FC3" --batch_size 12 --evaluation_steps 20 --diagnoses sMCI pMCI --n_splits 5 --split 3 --accumulation_steps 1 --epochs 200 --learning_rate 1e-5 --weight_decay 1e-3 --patience 20 --use_extracted_patches --selection_threshold 0.7 --dropout 0.5

After completing your suggestion, there is still an error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/geng/ADNI2/caps/subjects/sub-ADNI002S4229/ses-M06/deeplearning_prepare_data/image_based/t1_linear/sub-ADNI002S4229_ses-M06_T1w_space-MNI152NLin2009cSym_desc-Crop_res-1x1x1_T1w.pt'
image_based? I only have patch_based folder 。 image_based should be the entire brain MRI folder。

from clinicadl.

14thibea avatar 14thibea commented on June 3, 2024

Hi,

Actually the Dataset which prepares patches needs the full image to find automatically the number of patches based on the size of the full image + the patch size + the patch stride. This is why it is looking for the full image.
In https://github.com/aramis-lab/AD-DL/pull/58 it will look for the original nifti file if it does not find the tensor (right now it is only looking for the tensor). It should fix the problem.

from clinicadl.

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.