keras-team / keras-applications

Reference implementations of popular deep learning models.
Other
2k stars 913 forks source link

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

Open manojrustagi79 opened 4 years ago

manojrustagi79 commented 4 years ago

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 commented 4 years ago

Please help on the issue. Thanks Manoj Kumar

manojrustagi79 commented 4 years ago

Please help on the issue. Thanks Manoj Kumar

venergiac commented 4 years ago

maybe duplicated of

2.3.0 ImageDataGenerator : unexpected keyword argument 'interpolation_order' #13347

manojrustagi79 commented 4 years ago

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