RyanZotti / Self-Driving-Car

1.02k stars 327 forks source link

ai_drive not working. #131

Closed ugurcanakyuz closed 11 months ago

ugurcanakyuz commented 5 years ago

Hi @RyanZotti , Firstly thank you for your project. It's a great project. I'm following your steps and I am in the last step. However when I try to run ai_drive.py I've a trouble. I trained cnn model by my computer. There are 4 files under the directory "/ tf_visual_data / runs / 2 / trained_model/" after training. These files are checkpoint, model.ckpt.data, model.ckpt.index, model.ckpt.meta. I gave RPi IP and '/ tf_visual_data / runs / 2 / trained_model/' as parameters to ai_drive.py and I runned it. Then an error occured in get_prev_epoch method at util.py. raw_results variable that is in get_prev_epoch took a '.ckpt' value and then program crashed. Do you have any idea to solve this problem?