Giter Club home page Giter Club logo

Comments (27)

VidhiBishnoi avatar VidhiBishnoi commented on July 30, 2024 1

from pylidc.

VidhiBishnoi avatar VidhiBishnoi commented on July 30, 2024 1

from pylidc.

VidhiBishnoi avatar VidhiBishnoi commented on July 30, 2024 1

from pylidc.

notmatthancock avatar notmatthancock commented on July 30, 2024

.pylidcrc is plain text. Edit the path to point to the root folder of where the dicom data is stored on your particular machine.

from pylidc.

chinnujacob avatar chinnujacob commented on July 30, 2024

hii
this i s how i did in .pylidcrc .stil i get the same error.
[dicom]
path = /home/user/LIDC-IDRI
warn = True
can u suggest a solution

from pylidc.

notmatthancock avatar notmatthancock commented on July 30, 2024

The path that you have specified is not a real path. You have to update that to point to the root directory of where the LIDC data actually resides on your specific machine.

from pylidc.

chinnujacob avatar chinnujacob commented on July 30, 2024

hii
i have created a folder LIDC-IDRI in /home/user .and data s stored here.so isn't this the real path.what should i do now .please help

from pylidc.

chinnujacob avatar chinnujacob commented on July 30, 2024

hii
i have created a folder LIDC-IDRI in /home/user .and data s stored here.so isn't this the real path.what should i do now .please help

from pylidc.

notmatthancock avatar notmatthancock commented on July 30, 2024

Usually “user” should be your actual user account name. Are you on Linux? What’s the output of “ls /home/user/LIDC-IDRI”?

from pylidc.

chinnujacob avatar chinnujacob commented on July 30, 2024

hii
thank you so much.my problem is resolved.i got path correct

from pylidc.

notmatthancock avatar notmatthancock commented on July 30, 2024

ok...

from pylidc.

VidhiBishnoi avatar VidhiBishnoi commented on July 30, 2024

Hello, Please help me out in the same issue above for the error:
RuntimeError: Could not establish path to dicom files. Have you specified the path option in the configuration file C:\Users\admin\pylidc.conf?
Iam using this code:
[dicom]
path = "C:/Users/admin/to/big_external_drive/datasets/LIDC-IDRI"
warn = True

from pylidc.

Jonas1312 avatar Jonas1312 commented on July 30, 2024

this pylidc.conf works for me:

[dicom]
path = D:\PhD Thesis\LIDC\LIDC-IDRI

try with backslash and remove quotes

from pylidc.

VidhiBishnoi avatar VidhiBishnoi commented on July 30, 2024

from pylidc.

Jonas1312 avatar Jonas1312 commented on July 30, 2024

[dicom]
path = C:\Users\admin\to\big_external_drive\datasets\LIDC-IDRI

put that in your pylidc.conf

from pylidc.

VidhiBishnoi avatar VidhiBishnoi commented on July 30, 2024

from pylidc.

notmatthancock avatar notmatthancock commented on July 30, 2024

This error means that the configuration file pylidc.conf exists, but the path to the DICOM data that you've specified in that file does not exist. It would be helpful if you posted the contents of your pylidc.conf file.

from pylidc.

VidhiBishnoi avatar VidhiBishnoi commented on July 30, 2024

from pylidc.

notmatthancock avatar notmatthancock commented on July 30, 2024

path = C:\Users\admin\to\big_external_drive\datasets\LIDC-IDRI

This is a fake path. You need to replace this path with the actual path to the root folder of the LIDC data.

As this file will itself locate the dataset from the system i think.

I'm sorry, I don't understand what you mean. This file needs to be updated by you to point to the data. pylidc does not scan your system to discover the root data location automatically, if that's what you're suggesting.

from pylidc.

notmatthancock avatar notmatthancock commented on July 30, 2024

@VidhiBishnoi please read the guides here: https://pylidc.github.io/ If you still have questions about topics related to general usage (i.e., not related to this issue), then feel free to email me.

from pylidc.

VidhiBishnoi avatar VidhiBishnoi commented on July 30, 2024

from pylidc.

Jonas1312 avatar Jonas1312 commented on July 30, 2024
scan = pl.query(pl.Scan).filter(pl.Scan.patient_id == "LIDC-IDRI-0090").first()
annotations = scan.annotations
ann = annotations[0]
mask_cropped = ann.boolean_mask()
bbox=ann.bbox()
mask = np.zeros(scan.to_volume().shape, dtype=np.bool)
mask[bbox] = mask_cropped

from pylidc.

VidhiBishnoi avatar VidhiBishnoi commented on July 30, 2024

from pylidc.

Jonas1312 avatar Jonas1312 commented on July 30, 2024

Give us the full code script (and use triple backticks to improve readability!)

```python
insert code here
```

from pylidc.

VidhiBishnoi avatar VidhiBishnoi commented on July 30, 2024

kindly help me out..

from pylidc.

notmatthancock avatar notmatthancock commented on July 30, 2024

Hi @VidhiBishnoi like I mentioned already, a closed issue on an unrelated topic is not the avenue for this discussion.

If you are having a problem, then please open a separate issue that contains minimal steps to reproduce the issue you are experiencing, documenting the actual vs. expected results.

from pylidc.

VidhiBishnoi avatar VidhiBishnoi commented on July 30, 2024

from pylidc.

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.