Issue reading files: Classify Large Images using Inception v3


I have uploaded few images alomgwith “inception_v3.ckpt” and “imagenet_class_names.txt” at the location:

However, on the execution of the code below I get the error message that the file does not exists? Please help as I am unable to proceed…Thanks!

img_path = ‘…/inception/elephant.jpg’

img = image.load_img(img_path, target_size=(299, 299))

print (“img.shape”, type(img))

FileNotFoundError: [Errno 2] No such file or directory: ‘…/inception/elephant.jpg’

Hi Shashwat, as mentioned earlier please use the following path:


Also note, that this path will be valid only for the default notebook given on the right side of the split screen. If you are using a separate notebook, you need to specify the complete path:


Hi Rajtilak,
This is still not working. Please see the error below:

FileNotFoundError: [Errno 2] No such file or directory: ‘…/images/inception/elephant_1.jpg’


Hi, this is because the path is incorrect. You need to put 2 dots in the front of the path and not 3. Please delete one of the dots and it should work fine.

Okay got it!
Thanks & regards