microsoft / AutonomousDrivingCookbook

Scenarios, tutorials and demos for Autonomous Driving
MIT License
2.3k stars 563 forks source link

Train model error: #105

Closed susan987321 closed 5 years ago

susan987321 commented 5 years ago

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!

weigangwen commented 3 years ago

Hello, I have encountered the same problem. Have you solved this problem?Thanks a lot!