UvinduW / RCAutopilot

Autonomous RC Car powered by a Convoluted Neural Network implemented in Python with Tensorflow
MIT License
42 stars 17 forks source link

Upgrade to TF 2.0 #3

Open maxmstrmn opened 5 years ago

maxmstrmn commented 5 years ago

Please upgrade the code to Tensorflow 2.0, currently it only supports 1.14. At the moment, we can't use the code with the newest version.

UvinduW commented 4 years ago

Hi, thanks for the feedback. This has been something I've wanted to do for some time (along with updating it to the latest versions of Python and OpenCV). Unfortunately I currently don't have access to a working car or an area to test. I don't want to change functioning code without the ability to test whether the changes have worked.

If you or anyone reading this wants to try and update the code, I'd suggest redoing the CNN using keras with a TF backend, as it makes life a lot easier than dealing with TF directly. There are a number of guides online where people have implemented a CNN using keras to implement steering control for the simulator used on Udacity's Self Driving Car nanodegree. One of these implementations could easily be adapted to provide the steering prediction for the RC Car.