sir in my validation folder i have 400 images from 4 classes and when i pass model.fit(…,…, validation_data=imagedatagenerator.flow_from_directory(…),), the erro comes that “When passing validation_data, it must contain 2 (x_val, y_val) or 3 (x_val, y_val, val_sample_weights) items, however it contains 13 items”
although i have tried to change the batch size from 32 to 256 and 512 alse for val_data but error doesnot remove.
here is the colab link:
https://colab.research.google.com/drive/1iEMeZrBzbHMNeWHvE08Dn7V4G_oqc-2a#scrollTo=bh5KA_FRgEsl