UnknownError: Graph execution error:
My code threw this error.
If you filtered out invalid images properly in split_data
, please click my name and message your notebook as an attachment.
Yes sir. The there are 2 extra images in the training set which had to be removed during data split. I will now send you my notebook.
This is the expected output
666.jpg is zero length, so ignoring.
11702.jpg is zero length, so ignoring.
Original cat's directory has 12500 images
Original dog's directory has 12500 images
There are 11249 images of cats for training
There are 11249 images of dogs for training
There are 1250 images of cats for validation
There are 1250 images of dogs for validation
Your implementation doesn’t filter the zero length images:
Original cat's directory has 12500 images
Original dog's directory has 12500 images
There are 11250 images of cats for training
There are 11250 images of dogs for training
There are 1250 images of cats for validation
There are 1250 images of dogs for validation
Yes sir. I have been trying to solve that issue since last night. I was hoping if you could help to resolve it.
Hello Atishay,
Check if your data augmentation coding is correctly done. Refer the ungraded lab for hints. keep the augmentation simple meaning using rotation and other augmentation technique as simple as possible.
I am sharing a link with a similar error output as yours which states incorrect data augmentation can cause the error you have got.
Regards
DP