ResNet for Binary classification- Just 2 values of cross-validation accuracy
问题 I am new to python and Keras. I am trying to do a binary classification using transfer learning from ResNet. My dataset is very small but I am using image augmentation. My cross-validation accuracy is just either of 2 values 0.3442 and 0.6558 for all images. Can anyone tell me why this happens? Also when I predict (0 or 1), it labels all images as one class(0). Here is my code: from keras.preprocessing.image import ImageDataGenerator, load_img from keras.models import Sequential,Model,load