python – InvalidArgumentError tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,

I am getting this error message of Graph execution error. please help. train_datagen = ImageDataGenerator(rescale = 1.0/255.0, # Data augmentation on training images rotation_range=40, width_shift_range=0.2, height_shift_range=0.2, shear_range=0.2, zoom_range=0.2, horizontal_flip=True) train_generator = train_datagen.flow_from_directory(path,batch_size = 20, target_size = (150,150)) validation_datagen = ImageDataGenerator(rescale = 1.0/255.0, # Data augmentation on validation images rotation_range=40, width_shift_range=0.2, height_shift_range=0.2, shear_range=0.2, zoom_range=0.2, horizontal_flip=True) val_path … Read more