TypeError: Input 'filename' of 'ReadFile' Op has type float32 that does not match expected type of string
问题 I am running this code from the tutorial here: https://keras.io/examples/vision/image_classification_from_scratch/ with a custom dataset, that is divided in 2 datasets as in the tutorial. However, I got this error: TypeError: Input 'filename' of 'ReadFile' Op has type float32 that does not match expected type of string. I made this casting. I tried this: is_jfif = str(tf.compat.as_bytes("JFIF")) in fobj.peek(10) but nothing changed as far as the error I am trying all day to figure out how to