TF 2.0/keras notebooks bug with ImageDataGenerator and SciPy

Summary: Using ImageDataGenerator from tf.keras.preprocessing.image throws an “Install SciPy error”. SciPy is already installed on the machine and imports properly

Problem occurs when using ImageDataGenerator.flow with any rotation or shearing. Can be traced back to the apply_affine_transform function in the file.

1 Like