Why am I getting a StopIteration error while building a neural network

How can I solve the StopIteration error here. I am trying to build a CNN for image classification. from keras.preprocessing.image import ImageDataGenerator train_datagen = ImageDataGenerator( rescale=1./255, shear_range=0.2, zoom_range=0.2, horizontal_flip=True) test_datagen = ImageDataGenerator(rescale=1./255) train_set = train_datagen.flow_from_directory(“training_set”, target_size=(64, 64), batch_size=(64,64), class_mode=’binary’) test_set = test_datagen.flow_from_directory( “test_set”, target_size=(64, 64), batch_size=32, class_mode=’binary’) model.fit_generator( train_set, steps_per_epoch=8000, epochs=25, validation_data=test_set, validation_steps=2000)

Details

NFS vs. root filesystem, yet another /cannot access mounted subdirectories/ thread

Slowly giving up on this… I am trying to export root filesystem via NFS, but mounted /usr/portage subdirectory is empty or is mounted instead of /. Details below. — Host: mount | grep portage /usr/portage.mount/portage.sfs on /usr/portage.mount/readonly type squashfs (ro,noatime) unionfs on /usr/portage type fuse.unionfs (rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other) — First approach. Host: /etc/exports / *(sync,rw,no_root_squash,no_subtree_check,crossmnt) Guest: mount…

Details