Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xai_viewer #11

Open
ghost opened this issue Oct 10, 2020 · 0 comments
Open

Xai_viewer #11

ghost opened this issue Oct 10, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 10, 2020

Hi,
Thanks for this nice code.
I am trying to run your code using Luna dataset - testing the xai_viewer.py
The code is working charmly and I can upload the image successfully on the viewer. However, when I want to detect the nodule on the corresponding image, I face this error:

Traceback (most recent call last):
File "/home/shahab/Documents/Codes/lung_nodule_detector-master/detector_viewer/xai_viewer.py", line 144, in detect
labels = np.load(self.gt_path)
File "/home/shahab/Documents/Codes/lungmask-master/venv/lib/python3.6/site-packages/numpy/lib/npyio.py", line 428, in load
fid = open(os_fspath(file), "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/home/shahab/Documents/Codes/lung_nodule_detector-master/detector_viewer/seg/1.3.6.1.4.1.14519.5.2.1.6279.6001.102681962408431413578140925249_label.npy'

Which obviously the segmentation files does not work properly. The files from the link you mentioned are xml format. However, in the code as it is clear your are reading the np values.
Can you please help me if I miss some part of the dataset or the procedure.

All the best,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants