Hello, very interesting project. I would like to know in brief how did you extract the keyboard presses and how did you align them with the video in order to make the training set
Look at the tutorial by Sentdex. I used a similar approach in this project. Instead of using keypresses from the keyboard, I recorded steering and throttle information from Xbox joystick. Check out this detailed article I wrote for this project: medium.com/@alzaibnasiruddin/building-a-self-driving-vehicle-in-gta-v-using-deep-learning-and-convolutional-neural-network-696b38b4c81e
bro im also getting this error can u help me with this error plz Traceback (most recent call last): File "C:\Users\F\Desktop\Autonomous-Self-Driving-Car-GTA-5-master\test_model_steer.py", line 162, in main() File "C:\Users\F\Desktop\Autonomous-Self-Driving-Car-GTA-5-master\test_model_steer.py", line 89, in main outs = net.forward(output_layers) NameError: name 'output_layers' is not defined >>>
It seems like I might have deleted "output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()]" when cleaning the code. Please see the following link to implement yolo detection. github.com/Alzaib/Traffic-Signs-Detection-Tensorflow-YOLOv3-YOLOv4/blob/main/detection_from_folder.py
I didn't trained it to follow the waypoints, but if you recollect the data by driving to the waypoints, and retrain the network, I think it will reach the waypoint. Something like this: arxiv.org/pdf/1811.10119.pdf
@@mynamejeff5193 Hey did you re-train the script to make it go to waypoints? If so can you please share it to me because I do not understand the coding.
Nice
bro what is the resolution i should run the game and where should i place it
Hello, very interesting project. I would like to know in brief how did you extract the keyboard presses and how did you align them with the video in order to make the training set
Look at the tutorial by Sentdex. I used a similar approach in this project. Instead of using keypresses from the keyboard, I recorded steering and throttle information from Xbox joystick.
Check out this detailed article I wrote for this project: medium.com/@alzaibnasiruddin/building-a-self-driving-vehicle-in-gta-v-using-deep-learning-and-convolutional-neural-network-696b38b4c81e
bro im also getting this error can u help me with this error plz
Traceback (most recent call last):
File "C:\Users\F\Desktop\Autonomous-Self-Driving-Car-GTA-5-master\test_model_steer.py", line 162, in
main()
File "C:\Users\F\Desktop\Autonomous-Self-Driving-Car-GTA-5-master\test_model_steer.py", line 89, in main
outs = net.forward(output_layers)
NameError: name 'output_layers' is not defined
>>>
It seems like I might have deleted "output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()]" when cleaning the code. Please see the following link to implement yolo detection.
github.com/Alzaib/Traffic-Signs-Detection-Tensorflow-YOLOv3-YOLOv4/blob/main/detection_from_folder.py
bro if i put a waypoint on map will i t drive to it
I didn't trained it to follow the waypoints, but if you recollect the data by driving to the waypoints, and retrain the network, I think it will reach the waypoint. Something like this: arxiv.org/pdf/1811.10119.pdf
thank u : )
@@mynamejeff5193 Hey did you re-train the script to make it go to waypoints? If so can you please share it to me because I do not understand the coding.