Lesson 3 Camvid with another dataset - FileNotFoundError

(Mansi Chauhan) #1


I am trying to recreate the Camvid notebook using another data source. I was able to load my data and assign paths in a similar method to the notebook (one for labels, one for images). However, I am running into a ‘FileNotFoundError: No such file or directory’ when attempting to run the code below:

image.png891x412 19.7 KB

Link for the notebook:

Please let me know if you need any additional information.

Thank you!

(Yijin) #2


get_image_files does not seem to support auto-translating ~ to your home folder, so you need to give it the full path. You can find your home folder path by running os.path.expanduser(’~’) in the notebook, it will most likely look something like /home/username, which then gives the (example) full path of /home/username/data/chaos/CHAOS-Test-1/images



(Mansi Chauhan) #3

Great, that worked! Thank you Yijin!