llSourcell / How_to_simulate_a_self_driving_car

This is the code for "How to Simulate a Self-Driving Car" by Siraj Raval on Youtube
430 stars 306 forks source link

Error running the drive.py script #48

Open onkar-sopho opened 5 years ago

onkar-sopho commented 5 years ago

After training, when I use the model-001.h5 file to run the drive.py script I get the following Key error: Using TensorFlow backend.
Traceback (most recent call last): File "drive.py", line 124, in model = load_model(args.model) File "C:\Users\onkar\Miniconda3\envs\car\lib\site-packages\keras\models.py", line 140, in load_model model = model_from_config(model_config, custom_objects=custom_objects) File "C:\Users\onkar\Miniconda3\envs\car\lib\site-packages\keras\models.py", line 190, in model_from_config return layer_from_config(config, custom_objects=custom_objects) File "C:\Users\onkar\Miniconda3\envs\car\lib\site-packages\keras\utils\layer_utils.py", line 40, in layer_from_config return layer_class.from_config(config['config']) File "C:\Users\onkar\Miniconda3\envs\car\lib\site-packages\keras\models.py", line 1062, in from_config first_layer = config[0] KeyError: 0

greeksy commented 4 years ago

have you found any solution to this? I am dealing with the same problem,

vishnumallela commented 3 years ago

Same here ...

adijams01 commented 1 year ago

did you found any solution , i am getting a different error for that script

image

i am also not able to pip install secrets its giving a long error while building the wheel for python-ldap

any help will be appreciated, thank you.