keras-applications icon indicating copy to clipboard operation
keras-applications copied to clipboard

Error coming when creating the Object of Class ImageDataGenerator from keras.preprocessing.image

Open manojrustagi79 opened this issue 4 years ago • 4 comments

When I am creating an object of Class ImageDataGenerator I am getting an error as follows:

TypeError Traceback (most recent call last) in 11 height_shift_range=0.05, # randomly shift images vertically (fraction of total height) 12 horizontal_flip=False, # randomly flip images ---> 13 vertical_flip=False) # randomly flip images

D:\Anaconda\lib\site-packages\keras\preprocessing\image.py in init(self, featurewise_center, samplewise_center, featurewise_std_normalization, samplewise_std_normalization, zca_whitening, zca_epsilon, rotation_range, width_shift_range, height_shift_range, brightness_range, shear_range, zoom_range, channel_shift_range, fill_mode, cval, horizontal_flip, vertical_flip, rescale, preprocessing_function, data_format, validation_split, interpolation_order, dtype) 290 validation_split=validation_split, 291 interpolation_order=interpolation_order, --> 292 dtype=dtype) 293 294 def flow(self,

TypeError: init() got an unexpected keyword argument 'interpolation_order'

manojrustagi79 avatar Sep 21 '19 17:09 manojrustagi79

Please help on the issue. Thanks Manoj Kumar

manojrustagi79 avatar Sep 22 '19 11:09 manojrustagi79

Please help on the issue. Thanks Manoj Kumar

manojrustagi79 avatar Sep 30 '19 06:09 manojrustagi79

maybe duplicated of

2.3.0 ImageDataGenerator : unexpected keyword argument 'interpolation_order' #13347

venergiac avatar Oct 09 '19 16:10 venergiac

Thanks for your comment but how to resolve this issue. Could you please guide me detailed steps.

manojrustagi79 avatar Oct 09 '19 17:10 manojrustagi79