When I tried to train the model, run this line
data_generator = DriveDataGenerator(rescale=1./255., horizontal_flip=True, brighten_range=0.4)
I got an error:
File "D:\ProgramData\Anaconda\lib\site-packages\keras_preprocessing\image\image_data_generator.py", line 362, in init
'Received: %s' % (brightness_range,))
ValueError: `brightness_range should be tuple or list of two floats. Received: 0.0
It seems it needs more parameters.
How to correct it? Thank you very much!
When I tried to train the model, run this line data_generator = DriveDataGenerator(rescale=1./255., horizontal_flip=True, brighten_range=0.4) I got an error:
File "D:\ProgramData\Anaconda\lib\site-packages\keras_preprocessing\image\image_data_generator.py", line 362, in init 'Received: %s' % (brightness_range,))
ValueError: `brightness_range should be tuple or list of two floats. Received: 0.0
It seems it needs more parameters. How to correct it? Thank you very much!