Giter Site home page Giter Site logo

Comments (8)

harsharaman avatar harsharaman commented on May 27, 2024 2

Hi, so I have found the error: In lines 152 and 153 of prepare_dataset.py, there's an extra {} which creates the folder.
nodule_name = "{}/{}_CN001_slice{}".format(pid,pid[-4:],prefix[slice])
mask_name = "{}/{}_CM001_slice{}".format(pid,pid[-4:],prefix[slice])

Please remove it and this issue is resolved :D

from lidc-idri-preprocessing.

jaeho3690 avatar jaeho3690 commented on May 27, 2024

Hi, have you made the data/Clean directory?

from lidc-idri-preprocessing.

harsharaman avatar harsharaman commented on May 27, 2024

data/Clean was present from before. Do I have to explicitly make it?

from lidc-idri-preprocessing.

jaeho3690 avatar jaeho3690 commented on May 27, 2024

The error that is throwing is Filenotfounderror. 'data/Clean/Mask' this folder should exist in your directory as the clean .npy files are saved in that directory.

from lidc-idri-preprocessing.

harsharaman avatar harsharaman commented on May 27, 2024

data/Clean/Image and data/Clean/Mask folders exist and I have checked them. This is why I got confused about this error. The folders are present.

from lidc-idri-preprocessing.

jaeho3690 avatar jaeho3690 commented on May 27, 2024

It seems that the script is trying to make a same folder.
"LIDC-IDRI-0028/LIDC-IDRI-0028/"
-> there should only be one folder per patient. So it should actually be
'data/Clean/Mask/LIDC-IDRI-0028/0028_CM001_slice000.npy'

from lidc-idri-preprocessing.

jaeho3690 avatar jaeho3690 commented on May 27, 2024

Please check the config settings and codes that are making directories

from lidc-idri-preprocessing.

jaeho3690 avatar jaeho3690 commented on May 27, 2024

Great to hear that! I am not sure why such a problem occurs because it worked for mine but I will have a look at it! Thanks a lot :) and good luck!

from lidc-idri-preprocessing.

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.