BUG | ValueError: Shape mismatch: The shape of labels (received (320,)) should equal the shape of logits except for the last dimension (received (64, 5)).
底层原因:Step1:代码中,我通过ImageDataGenerator函数获取的图像生成器,会自动将图像label转为one-hot编码格式train_image_generator=ImageDataGenerator