autorope / donkeycar

Open source hardware and software platform to build a small scale self driving car.
http://www.donkeycar.com
MIT License
3.17k stars 1.3k forks source link

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

Open 0jeetparmar0 opened 1 month ago

0jeetparmar0 commented 1 month ago

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.