Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: index 1 is out of bounds for axis 0 with size 1 #1199

Open
0jeetparmar0 opened this issue Oct 9, 2024 · 0 comments
Open

IndexError: index 1 is out of bounds for axis 0 with size 1 #1199

0jeetparmar0 opened this issue Oct 9, 2024 · 0 comments

Comments

@0jeetparmar0
Copy link

INFO:donkeycar.parts.controller:button: a_button state: 0
INFO:donkeycar.parts.controller:button: a_button state: 1
INFO:donkeycar.parts.controller:new mode: local
INFO:donkeycar.parts.controller:button: a_button state: 0
2024-10-09 10:07:01.494657: I tensorflow/stream_executor/cuda/cuda_dnn.cc:380] Loaded cuDNN version 8000
2024-10-09 10:07:09.198789: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcublas.so.10
Traceback (most recent call last):
File "/home/nano/projects/donkeycar/donkeycar/vehicle.py", line 155, in start
self.update_parts()
File "/home/nano/projects/donkeycar/donkeycar/vehicle.py", line 209, in update_parts
outputs = p.run(*inputs)
File "/home/nano/projects/donkeycar/donkeycar/parts/keras.py", line 110, in run
return self.inference(norm_arr, np_other_array)
File "/home/nano/projects/donkeycar/donkeycar/parts/keras.py", line 123, in inference
return self.interpreter_to_output(out)
File "/home/nano/projects/donkeycar/donkeycar/parts/keras.py", line 335, in interpreter_to_output
throttle = interpreter_out[1]
IndexError: index 1 is out of bounds for axis 0 with size 1
INFO:donkeycar.vehicle:Shutting down vehicle and its parts...

using DC==4.5.1
waveshare jetracer pro ai kit
model trained using custom code not default keras.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant