FileNotFoundError: [Errno 2] No such file or directory: 'list_of_test_filenames.txt'
See original GitHub issueHi, I think this is a really cool project and I’m trying to use it in my research. I am trying to reproduce your results but I run into trouble because I don’t have the training data:
~/bin/tensorpack-medical/examples/LandmarkDetection/DQN master ● python DQN.py --algo DQN --gpu 0
WARN: gym.spaces.Box autodetected dtype as <class 'numpy.uint8'>. Please provide explicit dtype.
Traceback (most recent call last):
File "DQN.py", line 205, in <module>
screen_dims=IMAGE_SIZE)
File "/home/ubuntu/bin/tensorpack-medical/examples/LandmarkDetection/DQN/medical.py", line 157, in __init__
self.files = filesListFetalUSLandmark(directory,files_list)
File "/home/ubuntu/bin/tensorpack-medical/examples/LandmarkDetection/DQN/sampleTrain.py", line 321, in __init__
self.files_list = [line.split('\n')[0] for line in open(files_list)]
FileNotFoundError: [Errno 2] No such file or directory: 'list_of_test_filenames.txt'
Where can I get the dataset? I see in your paper that you cite another paper’s dataset, but I did not see a link to that dataset anywhere in that paper, either.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
FileNotFoundError: [Errno 2] No such file or directory [duplicate]
The error is telling you that there is no file of that name in the working directory. Try using the exact, or absolute,...
Read more >Python FileNotFoundError: [Errno 2] No such file or directory ...
The Python FileNotFoundError: [Errno 2] No such file or directory error is often raised by the os library. This error tells you that...
Read more >FileNotFoundError: [Errno 2] No such file or directory
The Python "FileNotFoundError: [Errno 2] No such file or directory" occurs when we try to open a file that doesn't exist in the...
Read more >FileNotFoundError: [Errno 2] No such ... - Net-Informations.Com
In the above code, you are not giving the full path to a file to the open() function, just its name - a...
Read more >How to fix FileNotFoundError Errno 2 no such file or directory
The error FileNotFoundError Errno 2 no such file or directory occurs when Python cannot find the specified file in the current directory.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@crypdick I just pushed a pre-trained model on the adni data, as well as 10 subjects from the test unseen data. Let me know if you could not manage to get the code running.
The fetal ultrasound data are not public. The MR brain data are public from ADNi datasets http://adni.loni.usc.eduprotocols/ For my experiments, they were pre-processed and reorganised in specific directories. This can be done for any other medical data. I will make these data readers more generic and easier to modify in the near future. Meanwhile I will probably upload a pre-trained model and few sample images from the ADNI database that can be used for playing the agents.