Getting "TypeError: Expected binary or unicode string" while running CNN model tensorflow

295 Views Asked by At

I am trying to train a simple CNN model for classifying images. I'm trying to classify images from 5 different classes. But while training I'm getting this error

TypeError: Expected binary or unicode string, got

Detailed error report can be found here

Data directory structure

data2/train contains 5 directories corresponding to each class having 17 images of varying resolution

data2/test contains 5 directories corresponding to each class having 7 images of varying resolution

The complete code can be accessed from here

0

There are 0 best solutions below