YOLOv3 in the CLOUD : Install and Train Custom Object Detector (FREE GPU)

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 มิ.ย. 2024
  • Learn how get YOLOv3 object detection running in the cloud with Google Colab. Walk-through the steps to run yolov3 with darknet detections in the cloud and how to train your very own custom object detector. ALL WITH FREE GPU! This tutorial covers it all!
    #yolov3 #objectdetection #cloud
    THE GOOGLE COLAB NOTEBOOK: colab.research.google.com/dri...
    This video cover:
    1. Setting up Google Colab as a cloud VM with Free GPU.
    2. Commands to get Darknet with YOLOv3 weights installed and running.
    3. YOLOv3 pretrained coco model detections in the Cloud.
    4. Configuration for Custom YOLOv3 Training in the Cloud.
    5. Training Custom YOLOv3 Object Detector in the Cloud.
    -----------------Resources------------------
    Github: github.com/theAIGuysCode/YOLO...
    Generate Open Images Custom Dataset (recommended): • Creating a YOLOv3 Cust...
    Create Dataset with Manual Annotations: • Create Labels and Anno...
    Train YOLOv3 on Local Machine (configure training): • Train YOLOv3 Custom Ob...
    If you enjoyed the video, toss it a like! 👍
    To Subscribe: / @theaiguy
    Thanks so much for watching!
    - The AI Guy
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1K

  • @TheAIGuy
    @TheAIGuy  4 ปีที่แล้ว +42

    Let me know what classes you are making your custom detector detect! Also comment if you have any issues!

    • @mubinmodi7529
      @mubinmodi7529 4 ปีที่แล้ว +1

      thanks man great video . But I have issues in installing the gpu version in my laptop . While using cmake configuration, cmake won't detect my cuda drivers . I have installed cuda 10.2 Also i didn't install cudnn

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      @@mubinmodi7529 for this video you don't need cmake and cuda will come predownloaded on the cloud VM. Did you mean to comment on one of my different videos?

    • @sahiluppal3093
      @sahiluppal3093 4 ปีที่แล้ว +1

      it's saving weights after every 100 epoch. how can we override this default behavior and save weights after let's say 1000 epochs.??

    • @manutyagi8019
      @manutyagi8019 4 ปีที่แล้ว +1

      Good afternon sir, I have one more suggestion kindly make a video on how to install and use detectron

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว +2

      Manu Tyagi awesome will do!

  • @jyothsnap3138
    @jyothsnap3138 4 ปีที่แล้ว +12

    Your in depth explanation solved so many problems! Thanks AI Guy! I wish this video had more views!

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      Appreciate the kind words and glad you liked the video! Thanks so much!

    • @Dheeraj-ed6rr
      @Dheeraj-ed6rr 3 ปีที่แล้ว

      Exactly

  • @arunselvabio
    @arunselvabio 4 ปีที่แล้ว +9

    Thank you for your hard work to frame format the content beautifully and to make it work :)

  • @kshitijnair7758
    @kshitijnair7758 3 ปีที่แล้ว +2

    Hey, great tutorial dude! I spent hours figuring all of this out and got it running back in Nov 2019, this video is a lifesaver for anyone who's new to YOLO! Appreciate the efforts man, cheers!

  • @woosal-kc7tr
    @woosal-kc7tr 4 ปีที่แล้ว +3

    Done everything from scratch with the help of you, really informative and god tier tutorial :D. Thanks!

  • @tejasnareshsuvarna7948
    @tejasnareshsuvarna7948 4 ปีที่แล้ว +3

    Thank you so much for this beautiful written Google Colab notebook. It is very helpful. This channel should get a lot of subscribers. Keep it up :)

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว +1

      Thanks so much!

  • @aaditkolar5521
    @aaditkolar5521 4 ปีที่แล้ว +21

    10:57 was so creative that you earned my subscription

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      Appreciate it. Thanks a lot! :)

  • @aravindabilash151
    @aravindabilash151 4 ปีที่แล้ว

    I followed all your tutorial on YOLOv3 and within 2 days i was able to setup YOLOv3, detect object with pre-trained model, create datasets, train them and i was able to detect custom object. Thank you for you tutorials.

  • @argoz1636
    @argoz1636 4 ปีที่แล้ว +3

    Thanks a lot for the video, I was having a lot of trouble installing DarkNet and cuda in my computer and all that stuff, so this was really usefull. Great video, dude, keep it up!

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      Glad it worked for you! Thanks!

  • @dannyboynoynay6170
    @dannyboynoynay6170 4 ปีที่แล้ว +6

    Thank you so much! you saved my life! hehhehehe

  • @gabrielegranello3239
    @gabrielegranello3239 4 ปีที่แล้ว

    Awesome job!! I was struggling so much to just install TensorFlow with GPU on my local machine, and this solves everything! Thank you so much, keep iy up!

  • @argishtib
    @argishtib 4 ปีที่แล้ว +2

    Hey man, love this tutorial on the cloud. I struggled so much getting it work on the local GPU, so glad to see a much better way!

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      Glad you enjoyed it! I really appreciate the kind words.

    • @argishtib
      @argishtib 4 ปีที่แล้ว +1

      @@TheAIGuy Dude, you're killing it with great content. It's truly a great time to be alive and seeing how you can custom label objects, build a detector, and run it in real time. All for free! Would love to know you're background in tech and aspirations besides growing the channel, and openness to possible collaboration down the line.

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      @@argishtib Feel free to reach out to me at my email as I'd love to chat more. You can find it in my About tab of this channel.

    • @argishtib
      @argishtib 4 ปีที่แล้ว

      @@TheAIGuy Sorry just saw this now. Just sent you an email.

  • @alokranjansanga6759
    @alokranjansanga6759 4 ปีที่แล้ว +5

    I was hoping you will say "welcome back aliens"

  • @leafteaneko
    @leafteaneko 4 ปีที่แล้ว +15

    For all those encountering the following error in STEP 3 line 44
    "
    Traceback (most recent call last):
    File "generate_train.py", line 4, in
    os.chdir(os.path.join("data", "obj"))
    FileNotFoundError: [Errno 2] No such file or directory: 'data/obj'
    "
    go to the generate_train.py and change the line4 from os.chdir(os.path.join("data", "obj")) to os.chdir("data")
    and image_files.append("data/obj/" + filename) to image_files.append("data/" + filename)
    .
    It seems the images are saved in a data folder directly instead of data/obj even when you follow the steps correctly

    • @N-e0N
      @N-e0N 4 ปีที่แล้ว +1

      I'm getting this error even though my images are inside darknet/data/obj

    • @leafteaneko
      @leafteaneko 4 ปีที่แล้ว +1

      @@N-e0N Post your errors here and maybe we can help

    • @N-e0N
      @N-e0N 4 ปีที่แล้ว +1

      @@leafteaneko Its okay, I tinkered around and made do. For some reason, the code really misbehaves at times for me.
      I added "darkflow" to os.path.join and also made it darknet/data/obj+filename in the image_files.append. That worked for a bit but then I got an error in the training phase when it said "Can't load images from darknet/data/obj" . At this point I went back and changed everything to original and loaded it...then it worked fine!

    • @N-e0N
      @N-e0N 4 ปีที่แล้ว +1

      @@leafteaneko Ok I'll take you up on your offer because the minor tweaking no longer works. Here's the error message :
      Traceback (most recent call last):
      File "generate_train.py", line 4, in
      os.chdir(os.path.join("data","obj"))
      FileNotFoundError: [Errno 2] No such file or directory: 'data/obj'
      But there is a data folder inside darknet, and it does contain obj inside of which are all the images and annotations.

    • @leafteaneko
      @leafteaneko 4 ปีที่แล้ว

      @@N-e0N that is really weird, the same thing happened to me once before but I did a factory reset runtime and started fresh and it worked. I know it works because I successfully trained my model and I have the config files too. Drop me a email so I can send over my code, maybe that'll help your case(?)

  • @johanbekker2
    @johanbekker2 4 ปีที่แล้ว +1

    This is awesome, thanks a lot! Couldn't get darknet to work on my own PC (cuda and opencv troubles) for 2 days, and this solved my suffering. Took a bit of puzzling to get it to work for Yolov4, but totally worth it.

  • @rob26r
    @rob26r 4 ปีที่แล้ว +1

    Hi Mr AI Guy. Just wanted to say a million thanks for your help working through issues I had and for creating such a great tutorial. I have my object detection via jpeg and now I can move on to getting object detection working on a live webcam. Like and subscribed. Thanks again.

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      Glad you got it all working!

  • @makeoutloud
    @makeoutloud 4 ปีที่แล้ว +15

    Bro make video on predicting yolov3 on video and exporting the video in windows

  • @hristinabiserinska2407
    @hristinabiserinska2407 4 ปีที่แล้ว +3

    The video was really helpful! Thank you so much for your effort! Could you please give me an idea how to apply the model on multiple test images (I have test.txt file analogue to the train.txt file, containing the path to the image) and create a csv file (or pandas dataframe) with the bounding box coordinates, the center (x,y) and the class probability?

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      You can check out the readme for alexeyab/darknet github repository, he has amazing documentation and shows how to test on multiple images at once!

    • @hristinabiserinska2407
      @hristinabiserinska2407 4 ปีที่แล้ว +1

      @@TheAIGuy I tried multiple things that alexeyab suggests. The following one is running without an error !./darknet detector test data/obj.data cfg/yolo-obj.cfg yolo-obj_final.weights -dont_show -ext_output /mydrive/yolo/images/imgname.jpg result.txt but the result.txt is not saved in darknet repository and I cannot find it. Did you had the same issue?

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      @@hristinabiserinska2407 That will mostly likely save the results.txt into the colab VM. Try making it /mydrive/yolo/results.txt or something similar!

  • @michaelroditis1952
    @michaelroditis1952 4 ปีที่แล้ว +1

    You sir are one amazing man. This video deserves more views.

  • @josedavidmonterourena3378
    @josedavidmonterourena3378 4 ปีที่แล้ว

    What can I say? You're the best! All your videos are freaking awesome!

  • @hamzalatif115
    @hamzalatif115 4 ปีที่แล้ว +4

    I followed every steps of your tutorial but at the when i start custom training it gives me the error "/bin/bash: ./darknet: Is a directory" .Please help me in this

    • @keshavkantsharma1946
      @keshavkantsharma1946 4 ปีที่แล้ว +2

      Were u able to solve this?

    • @andrekestler8256
      @andrekestler8256 4 ปีที่แล้ว +2

      I have the same issue

    • @hamzalatif115
      @hamzalatif115 4 ปีที่แล้ว +1

      some how after trying many solution i get one go to darknet directory by "cd darknet" and after that run this command "!chmod +x darknet" this will give you permissions to execute the darknet files after that run your custom detector hopefully it works

    • @iantairea859
      @iantairea859 4 ปีที่แล้ว +1

      I'm having same problem. "!chmod +x darknet" doesn't solve for me. AI Guy, can you help us?

    • @iantairea859
      @iantairea859 4 ปีที่แล้ว +4

      hey guys i solved this problem. at some point i was in the wrong directory so my data/obj was is /content/ instead of content/darknet/data/obj. my yolov3_custom.cfg was also not appearing in the correct location. i ended up factory reseting the runtime (in the runtime menu) and then started again taking more care to make sure everything was popping up in the corrent folders and checking up current directory with %pwd if i wasnt sure. AI Guy thanks heaps for these tutorials. keep them coming!

  • @satyapratik
    @satyapratik 4 ปีที่แล้ว +4

    Traceback (most recent call last):
    File "generate_train.py", line 4, in
    os.chdir(os.path.join("data", "obj"))
    FileNotFoundError: [Errno 2] No such file or directory: 'data/obj'
    I have also done %cd content darknet as just %cd darknet gives no directory named darknet. I have obj.names and obj.data in my data folder.
    I have tried everything. Can someone help me out? Do I need to change something in the code?

    • @user-zw8ks6lv8q
      @user-zw8ks6lv8q 4 ปีที่แล้ว

      I have a same issue here

    • @isaactnt
      @isaactnt 4 ปีที่แล้ว +1

      I found the problem, you have uploaded the obj.zip and extracted it outside darknet/data and in another folder named data. Make sure that you extract it in darknet/data otherwise it will not work

    • @kalleheinz758
      @kalleheinz758 3 ปีที่แล้ว

      # unzip the zip file and its contents should now be in /darknet/data/obj
      !unzip ../obj.zip d darknet/data/obj

  • @peregrinussolutionsllc6010
    @peregrinussolutionsllc6010 4 ปีที่แล้ว +1

    Wow! I have my fingers crossed, but so far this is much easier than running YOLOv3 with Darknet and OpenCV on Windows 10 for me :-) Thank you for the great tutorials!

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      Peregrinus Solutions LLC Thanks for the support! Glad you enjoy.

  • @sourdurian2839
    @sourdurian2839 2 ปีที่แล้ว

    you da man! i literally struggled to do this but your tutorial helped me a shit lot. Liked and subbed!

  • @channaperera2978
    @channaperera2978 4 ปีที่แล้ว +4

    We need video about yolo detection in webcam realtime feed.. Thanks in advance :)

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว +1

      Will do!

    • @aishanoorbhatti5850
      @aishanoorbhatti5850 4 ปีที่แล้ว +1

      @@TheAIGuy yeah i really need to do this on webcam realtime

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว +1

      @@aishanoorbhatti5850 check out my latest video. Its all about running yolov3 on webcam or video in real-time! It will walk you through how to do it with GPU or CPU.

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      @abdessamad makdad yes I will try and figure that out! In the meantime you can train your model in the cloud and then use my latest video to see how to run it on video and webcam!

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      @abdessamad makdad you can still run video detections on CPU! You wont get as many frames per second but it still works!

  • @snehitvaddi
    @snehitvaddi 4 ปีที่แล้ว +5

    May I know how download trained model and implement that model on realtime camera and further image processing stuff...Any reference will be appreciated 👏👏

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว +2

      check out the readme for my "Object Detection API" video or my "How to Build an Object Detection Classifier" video, both will do the trick

  • @kaushikjadhav1367
    @kaushikjadhav1367 4 ปีที่แล้ว

    Awesome video sir! I am new to your channel and I am already impressed by the videos you make. Thanks for sharing everything!!! 💛💛💛

  • @hansgabrieldaduya2565
    @hansgabrieldaduya2565 4 ปีที่แล้ว +1

    I always wanted to do deep learning but the resources on the internet were really difficult to understand. Thank you since you really explained it well!

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      Appreciate it! Thanks for the support.

  • @ravirajsinhdabhi9255
    @ravirajsinhdabhi9255 4 ปีที่แล้ว +3

    when i run this cell
    # train your custom detector
    !./darknet detector train data/obj.data cfg/yolov3_custom.cfg darknet53.conv.74 -dont_show
    i am getting this type of error
    /bin/bash: ./darknet: Is a directory
    please help

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว +1

      Ravirajsinh Dabhi you need to run “%cd darknet” command before, you must be in the root directory and you need to be in the darknet folder to run the detection.

    • @ravirajsinhdabhi9255
      @ravirajsinhdabhi9255 4 ปีที่แล้ว +1

      @@TheAIGuy sorry for to trouble you after
      i am getting
      Couldn't open file: data/obj.data

    • @ravirajsinhdabhi9255
      @ravirajsinhdabhi9255 4 ปีที่แล้ว +2

      @The AI Guy ok it's solved thank you for this lovely content.If i want to contribute something and support this content for you what can i do?where can i do?

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว +2

      Ravirajsinh Dabhi just liking this video and subscribing to the channel means a lot to me. Thanks!

    • @ravirajsinhdabhi9255
      @ravirajsinhdabhi9255 4 ปีที่แล้ว +1

      @The AI Guy this is my dataset for custom model,this is whole dataset collected by me and my friend from casting foundry
      www.kaggle.com/ravirajsinh45/real-life-industrial-dataset-of-casting-product
      This is we doing for identify defective product and ok product!! For reducing tedious process of manual inspection of all product.
      We already made binary classifier from this dataset now we working for detection of it.
      We already made working model of that with help of arduino and stepper motor which can push defective from inspection line.

  • @user-ek8nu4fr3z
    @user-ek8nu4fr3z 4 ปีที่แล้ว +3

    when i want to test with a video,
    instead of this cord:
    !./darknet detector test data/obj.data cfg/yolov3_custom.cfg /mydrive/yolov3/backup/yolov3_custom_last.weights /mydrive/images/safari.jpg -thresh 0.3
    which command do i have to use??
    and do i need another weight file download??

  • @nidaashrin1113
    @nidaashrin1113 3 ปีที่แล้ว

    This was an exact video I was looking for..thank u for making it.. saved my time..

  • @jayshah9697
    @jayshah9697 3 ปีที่แล้ว

    One of the best channel for computer vision beginners!!!!

  • @akhilgkrishnan4469
    @akhilgkrishnan4469 4 ปีที่แล้ว +3

    After running the JavaScript code in console it's showing error...

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      Akhil G Krishnan whats the error

    • @GKMUSICINDIAVIDEOS
      @GKMUSICINDIAVIDEOS 4 ปีที่แล้ว +2

      @@TheAIGuy Uncaught TypeError: Cannot read property 'click' of null
      at ClickConnect (:3:55)
      Uncaught error: ErrorEvent {isTrusted: true, message: "Script error.", filename: "", lineno: 0, colno: 0, …}

    • @akhilgkrishnan4469
      @akhilgkrishnan4469 4 ปีที่แล้ว +1

      @@TheAIGuy Uncaught TypeError: Cannot read property 'click' of null
      at ClickConnect (:3:55)
      Uncaught error: ErrorEvent {isTrusted: true, message: "Script error.", filename: "", lineno: 0, colno: 0, …}

    • @akhilgkrishnan4469
      @akhilgkrishnan4469 4 ปีที่แล้ว +1

      @@TheAIGuy Uncaught TypeError: Cannot read property 'click' of null
      at ClickConnect (:3:55)
      Uncaught error: ErrorEvent {isTrusted: true, message: "Script error.", filename: "", lineno: 0, colno: 0, …}

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว +1

      GK MUSIC INDIA try changing the “colab-toolbar-button#connect” to “paper-icon-button” inside the queryselector

  • @arindammondal9364
    @arindammondal9364 3 ปีที่แล้ว

    nice video.
    please make related projects like counting custom objects, vehicle speed predictions etc. your way of teaching and code explanation is absolutely understandable. that is why i'm asking for. thank you.

  • @arslansiddique32
    @arslansiddique32 4 ปีที่แล้ว +2

    You are the legend. I used to hate colab because of disconnection with internet. Thanks for your hack and all other tutorial. Liked and Subscribed !

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      Thanks so much! Glad you found it useful.

  • @developerhabits
    @developerhabits 3 ปีที่แล้ว

    LOL! Love the "OH! WHAT'S THAT? I'D DEFINITELY HIT THAT BUTTON". Great video, subscribed.

  • @nept4ne
    @nept4ne 3 ปีที่แล้ว +1

    Hi, I just discovered your channel and loved the content about computer vision. I'll study your videos and many thanks for sharing.

    • @TheAIGuy
      @TheAIGuy  3 ปีที่แล้ว

      Harry glad you enjoy! Thanks for the kind words. All the best

  • @preetharavindran4174
    @preetharavindran4174 3 ปีที่แล้ว

    Thankyou very much for the wonderful video ! It just helped me to sort out all kinda doubts I had related to this topic.

  • @adityasinha4158
    @adityasinha4158 4 ปีที่แล้ว +1

    Great video!! Extremely helpful.

  • @Lucas-hobbies
    @Lucas-hobbies 3 ปีที่แล้ว +1

    Very Nice Tutorial! Thanks for sharing!

  • @zakariaabderrahmanesadelao3048
    @zakariaabderrahmanesadelao3048 4 ปีที่แล้ว +1

    you're a fucking legend. I spent a week compiling darknet on my laptop, built my own labelmaker with python and when i got to train my model on cpu it estimated 1600 hours. nearly had a mental breakdown. my first reflex was to look into AWS EC2. spent a day with that headache. then youtube suggests your video and god man you have saved my life. subbed and forever your follower. thank you a thousand

    • @mlnjsh1
      @mlnjsh1 2 หลายเดือนก่อน

      This kinds of abusive words if you praise someone are not good....praise in good words

  • @musicmagic1013
    @musicmagic1013 4 ปีที่แล้ว +1

    man I really appreciate it ,this really make trainnig custom object model simple and it helps me a lot.

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      Appreciate it! Thanks for the kind words. All the best.

  • @yanahongla5354
    @yanahongla5354 3 ปีที่แล้ว

    Great stuff. Thank you for your hard work. This is very helpful

  • @zakariaabderrahmanesadelao3048
    @zakariaabderrahmanesadelao3048 4 ปีที่แล้ว

    my task is to detect a paper being help up. it's a bit tricky because most of the test pictures have a white wall background resembling the paper but the network is doing a pretty good job so far, thank you

  • @preciousbatta9576
    @preciousbatta9576 3 ปีที่แล้ว

    Thank you so much. Very easy to understand and follow-up
    The AI Guy

  • @maatflores2376
    @maatflores2376 3 ปีที่แล้ว

    Grande bro. Im from Chihuahua, Mexico and this really help me

  • @sanfinity_
    @sanfinity_ 3 ปีที่แล้ว

    Thanks a lot for your beautiful content sir that helped me build my own custom yolov3 model 🤟🏻

  • @prajwal9741
    @prajwal9741 4 ปีที่แล้ว +1

    you are amazing man thanks a lot for the tutorial

  • @quanghuytrinh5985
    @quanghuytrinh5985 3 ปีที่แล้ว

    Thank you so much. From Vietnam with love :3

  • @ritubansal3087
    @ritubansal3087 3 ปีที่แล้ว

    you're amazing i successfully made my own custom model thank you! :)

  • @9934max
    @9934max 4 ปีที่แล้ว

    Really great tutorial, thanks a lot for sharing knowledge

  • @ilse2040
    @ilse2040 4 ปีที่แล้ว

    I am following your toturials for days now and find them extremely clear, thank you for making rgeat content!
    Question:
    When running a custom training model for one class on my own laptop, for a batch of 4000 it will take 67 hours. How much time do you reckon it will take on this cloud VM?
    Might give it a try this weekend, thanks!

  • @user-id3qp7bq9o
    @user-id3qp7bq9o 4 ปีที่แล้ว

    Damn good.Keep making more creative videos like this!

  • @ronakgajera6126
    @ronakgajera6126 3 ปีที่แล้ว

    This video content helped me a lot... thanks for sharing your knowledge...

  • @annamilewska3946
    @annamilewska3946 4 ปีที่แล้ว

    Thank You so much!!! Creating custom detector was challenging but it works! Not perfectly but still ;) (It detects malaria cells)

  • @tomboy-rd1fv
    @tomboy-rd1fv 4 ปีที่แล้ว

    i loved following along,thanks mate

  • @justinpatel8751
    @justinpatel8751 3 ปีที่แล้ว +1

    I am making my custom detector on particular traffic sign classes such as stop sign, right-hand side curve etc. As of now to check that how does it work out for only 4 classes, if it works well i will try to train it for more signs around 40 no of classes😅 I hope that won't be an issue in case of that much classes. This tutorial helped a lot. Thanks.🙌

    • @ismail_..
      @ismail_.. 2 ปีที่แล้ว +2

      Did you do that does this work

  • @MrSK8ORDIE69
    @MrSK8ORDIE69 3 ปีที่แล้ว +1

    Great video! Thanks!

    • @TheAIGuy
      @TheAIGuy  3 ปีที่แล้ว +1

      Glad you enjoyed!

  • @brunoromao7172
    @brunoromao7172 2 ปีที่แล้ว

    Hello from Brazil, very great tutorial! Congratulations! I am training on BDD100K dataset, it helped a lot! Thank you.

  • @GolemTH9
    @GolemTH9 2 ปีที่แล้ว

    Good explaining 👍👍👍👍

  • @amanpreetsinghgulati2475
    @amanpreetsinghgulati2475 4 ปีที่แล้ว

    Glad I was looking for this one

  • @vijayanandkandaswamy1190
    @vijayanandkandaswamy1190 2 ปีที่แล้ว

    Good explanation...keep rocking

  • @sebastianortmann4728
    @sebastianortmann4728 3 ปีที่แล้ว

    you frcking legend, im using this for my master thesis, this just took me several weeks with software with your skript i was able to do in a couple hrs

    • @TheAIGuy
      @TheAIGuy  3 ปีที่แล้ว

      Haha glad to help. Thanks!

    • @researched982
      @researched982 3 ปีที่แล้ว

      Sitze auch gerade an der MA, kann ich dich irgendwie kontaktieren? :D

  • @timeprint1117
    @timeprint1117 4 ปีที่แล้ว +1

    Great videos, thanks for sharing, keep it up

  • @howtodrawit2978
    @howtodrawit2978 4 ปีที่แล้ว +2

    Thank you very much...can you continue making a video about test and validate process image?

  • @sagarprasad8720
    @sagarprasad8720 2 ปีที่แล้ว

    Thanks a lot man. you should make more and more videos i am hoping to learn tensorflow from you.

  • @dyufd77777
    @dyufd77777 3 ปีที่แล้ว

    Take our subscriptions bro you deserve it!

  • @angelortiz3564
    @angelortiz3564 2 ปีที่แล้ว

    This is an absoulutly awesome video!! Do you think it the process has changed that much since 2020?

  • @josemanuelnunez7921
    @josemanuelnunez7921 3 ปีที่แล้ว

    Thanks for the video. I love it

  • @deshanivimukthika6926
    @deshanivimukthika6926 4 ปีที่แล้ว +2

    Hi Al Guy, thank you very much for this amazing video.
    I need some clarifications on trained weights.

    • @deshanivimukthika6926
      @deshanivimukthika6926 4 ปีที่แล้ว

      Aftet the training, weights will be saved into the drive as u explained. By any chance, those are those weights downloadable and able to use inside an android application for objects detection?

  • @MuhammadShahid-X3NOM
    @MuhammadShahid-X3NOM 3 ปีที่แล้ว

    thank you so much for this!

  • @chrisharri7376
    @chrisharri7376 4 ปีที่แล้ว

    Sick, thanks so much!

  • @shinmccold
    @shinmccold 4 ปีที่แล้ว

    Really amazing videos

  • @chahidovic4604
    @chahidovic4604 3 ปีที่แล้ว

    Very helpful !!!

  • @youtubeu4005
    @youtubeu4005 3 ปีที่แล้ว

    Made my day ❤️🔥

  • @prakharkumar7368
    @prakharkumar7368 4 ปีที่แล้ว +1

    Awesome buddy but just one humble request try to upload regularly 2 times per week or maybe 1

  • @hammadimran6539
    @hammadimran6539 4 ปีที่แล้ว +1

    Hi, how do we resume a colab project because after training I closed my tabs and when I opened again my darknet folder was no longer there and I had to start from scratch

  • @tabriziran1
    @tabriziran1 4 ปีที่แล้ว

    Thank you for this great explanation. I am just wondering in Yolo with custom data and train, at the end when we give a test image how I can get box location? same as .txt I provided for training.
    Thanks

  • @Joshua-kr5fq
    @Joshua-kr5fq 4 ปีที่แล้ว

    Thanks a lot for this

  • @damirmukametkarim8835
    @damirmukametkarim8835 3 ปีที่แล้ว +2

    Thank you man for great tutorial! I have a question though. I was training model for vehicle detection and classification. Recently I found out that vehicles from particular location are not being detected (cuz of some obstacle). I decided to collect more data from that particular location. Thing is that I have already trained on old dataset and got final weights. Do I have to retrain model on whole dataset again (old dataset + new data) or I can just make dataset on new data and begin training from last weights?

    • @khawlasghir6586
      @khawlasghir6586 3 ปีที่แล้ว +1

      Interesting question. I think that the answer for this is transfer learning. You freeze training weights of the old dataset and you retrain with the newer one to update the model.

    • @damirmukametkarim8835
      @damirmukametkarim8835 3 ปีที่แล้ว +1

      @@khawlasghir6586 thank you for reply. Yes I've already came up with solution and did what you've just wrtitten. 😁👌

  • @crimsonDragonFire
    @crimsonDragonFire 4 ปีที่แล้ว

    Awesome video! What command do I write to test a video and see the result using the generated weight?

  • @alperennerdogann
    @alperennerdogann 4 ปีที่แล้ว

    Firstly, thanks for this tutorial, i have been searching tutorial like this for a big while. It seems that it is gonna detect object in images. However, i am wondering that, will it be working for videos as well? Can we use these weights for object detection on video? Thanks in advance for your answer.
    Sincerely,

  • @CristhianSanchez
    @CristhianSanchez 4 ปีที่แล้ว

    hahhah man. you are so nice... Good one that way to subscribe you, definitely did it!!!

  • @abuzarshaikh9217
    @abuzarshaikh9217 4 ปีที่แล้ว +1

    Great video, truly a piece of art, just out of curiosity for how many iterations usually does the training goes?

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว +1

      the standard for high accuracy is usually 2000*(# of classes), so if you are creating a detector for 3 classes you would train for 6000 iterations

    • @abuzarshaikh9217
      @abuzarshaikh9217 4 ปีที่แล้ว +1

      It's giving me an error while training, can't open label file(this can be Normal if your MSCOCO)
      Is this error normal or should I do some changes for it

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      @@abuzarshaikh9217 this probably means your obj.names isnt in the right folder or isnt being reference properly in the obj.data folder. I would double check both

  • @pyroswolf8203
    @pyroswolf8203 4 ปีที่แล้ว

    Thanks man !

  • @gayrattangriberganov8802
    @gayrattangriberganov8802 4 ปีที่แล้ว +1

    Thank you Brother

  • @hamzehmirhaji6485
    @hamzehmirhaji6485 4 ปีที่แล้ว

    Hi. thank you for amazing video. I have one question: How could I omit bounding box labels in test images?? I want to see just bounding box without labels in test images.

  • @foodqw2jd
    @foodqw2jd 4 ปีที่แล้ว

    Very useful

  • @techefyia3284
    @techefyia3284 3 ปีที่แล้ว

    Hi, thanks for the video! Is there any chance you will do a similar video for yolov3 tiny? Are there major differences or is it about the same thing?

  • @sercangokturk9024
    @sercangokturk9024 3 ปีที่แล้ว

    Hi, thank you for this toturial. I have a question, I want to reduce specifics class in yolov3 dataset(coco dataset). In other word, I don't want to detect some classes. How can I do this?

  • @krkhc
    @krkhc 3 ปีที่แล้ว

    Thank you very much for the video! Is there a way to change the color of the bounding boxes? It would be really important for me to detect each and every object with the color that is defined for them in my school task.

  • @rebeccacook40
    @rebeccacook40 4 ปีที่แล้ว

    Hi, I would like to test the model with my 20% test data after training. I noticed in the video that when creating the obj.data file you mentioned that we wouldn't be using the test.txt. If I would like to test the model I assume I need to generate the test.txt file. Is there anything else I need to change or do? Will it then provide me with the accuracy of the model after training?

  • @sourabh1994suri
    @sourabh1994suri 4 ปีที่แล้ว +1

    Thank you very much.
    Just one thing, my console says- you are connected to a GPU runtime, but not utilizing the GPU.

  • @jananimohan7979
    @jananimohan7979 3 ปีที่แล้ว

    super thambi

  • @tensor7252
    @tensor7252 4 ปีที่แล้ว +2

    A great tutorial. This really helped me to clear all the doubts regarding YOLOV3 implementation. I have another question.Do you know how to get the coordinates of the bounding box?

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว +2

      ten sor to get bounding boxes just add the flag -ext_output to your detection command

    • @hibazafar1815
      @hibazafar1815 4 ปีที่แล้ว +1

      hey your tutorial is super good, I really learned a lot. Can you please tell me how I can store output of each detection in a file along with the coordinates. Thanks

    • @TheAIGuy
      @TheAIGuy  4 ปีที่แล้ว

      @@hibazafar1815 Hi there and thanks for the kind words! Refer to the official readme of alexeyab/darknet on github as he shows how to do it with detail. A way that works for me is adding this to the end of your darknet detection command '-ext_output >> results.txt'. This will save the detections in a text file. Make sure to then save the results file to your machine or google drive.

  • @adityaghosh8601
    @adityaghosh8601 4 ปีที่แล้ว +1

    Thank you soooooooooooooo much

  • @dawittadesse28
    @dawittadesse28 4 ปีที่แล้ว +1

    it is good works and plese share share rhe dolabs all works that you
    have done

  • @shibinthomas8289
    @shibinthomas8289 4 ปีที่แล้ว

    @TheAIGuy...brilliant tutorial....is there any possible way to save the object detection result into a .txt file on ur local machine (e.g if the predicted class is "dog" then save dog inside a .txt file) ...Thanks

  • @gaurangpatel9968
    @gaurangpatel9968 4 ปีที่แล้ว +1

    I have one question here. How can we use preprinted model and add our newly trained model with that. For example i have 80 classes in coco names but now i trained model with 2 new classes and i want that 80 and also 2 new classes. So in result my model is able to detect total 82 object. Please Help me for this...

  • @satyabratsharma486
    @satyabratsharma486 4 ปีที่แล้ว +1

    i am getting this error...what should i do??
    File "generate_train.py", line 4, in
    os.chdir(os.path.join("data", "obj"))
    FileNotFoundError: [Errno 2] No such file or directory: 'data/obj'