Autonomous Vehicle in GTA-5 Using Deep Learning and YOLOv3

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 12

  • @The.yameen
    @The.yameen 3 года назад

    Nice

  • @mynamejeff5193
    @mynamejeff5193 3 года назад

    bro what is the resolution i should run the game and where should i place it

  • @panagiotisseventekidis7153
    @panagiotisseventekidis7153 4 года назад

    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

    • @playlist422
      @playlist422  4 года назад

      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

  • @mynamejeff5193
    @mynamejeff5193 3 года назад

    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
    >>>

    • @playlist422
      @playlist422  3 года назад

      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

  • @mynamejeff5193
    @mynamejeff5193 3 года назад

    bro if i put a waypoint on map will i t drive to it

    • @playlist422
      @playlist422  3 года назад

      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
      @mynamejeff5193 3 года назад

      thank u : )

    • @faint.2396
      @faint.2396 2 года назад

      @@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.