YOLOv4 in the CLOUD: Build and Train Custom Object Detector (FREE GPU)

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024
  • Learn how to train your very own YOLOv4 custom object detector in Google Colab! Get yolov4 built with darknet and running object detections in minutes. Walk-through the steps to gather your own custom dataset, configure YOLOv4 for training, and then train your own custom object detector to detect whatever classes and objects you want. ALL WITH FREE GPU! This tutorial covers it all.
    #yolov4 #objectdetection #cloud
    THE GOOGLE COLAB NOTEBOOK: colab.research...
    In this video I cover:
    1. Setting up Google Colab as a Cloud VM with Free GPU.
    2. Commands to Build Darknet
    3. How to Gather Custom Training and Validation Datasets
    4. Configuration for Custom YOLOv4 Training in the Cloud
    5. Training Custom YOLOv4 Object Detector
    6. Validating Custom Model with mAP
    7. Running Custom Model with Detections
    ---------Resources---------
    Github Code Repository: github.com/the...
    Tutorial for YOLOv4 Pre-trained Model, Running on Video, Formatting Output and Detections etc.: • YOLOv4 in the CLOUD: I...
    Generate Open Images Custom Dataset (recommended): • Creating a YOLOv3 Cust...
    Create Dataset with Manual Annotations: • Create Labels and Anno...
    The Official YOLOv4 paper: arxiv.org/abs/...
    If you enjoyed the video, toss it a like! 👍
    To Subscribe: / @theaiguy
    Thanks so much for watching!
    The AI Guy

ความคิดเห็น • 631

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

    Let me know which custom classes you are training your custom detector on! As always comment if you run into any issues. Cheers :)

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

      how to count plate in real time video sir?

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

      Would love a video on Deep Sort + YOLOv4

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

      I started training dataset containing wheat images in colab and colab's runtime is just stopped at 1961 iteration inspite of setting setting javascript code in console. Can you please suggest any way we can prevent it so that training continues?

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

      prateek gupta that can sometimes happen due to memory issues within the notebook after running for a long time. Just restart training from saved weights and you will be good as new!

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

      When I am running the first step in step 5, it shows this. What should I do?
      CUDA Error: out of memory
      CUDA Error: out of memory: File exists
      darknet: ./src/utils.c:326: error: Assertion `0' failed.

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

    I just saw that this video was posted. I was literally following your tutorials over the last few days to build a license plate detector for my University Major Project. You may have just saved my life, I'll be watching this video later

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

      Perfect timing haha. Hope it helps, let me know if you need any help!

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

      @@TheAIGuy An update on my project. Everything went well in my presentation besides a few questions on logistics. Thanks to you, it looks like I've passed my Major Project, the most important module to graduate from my university in Jamaica. All that's left to do is finish 2 modules to meet the credit requirements to graduate. Thank you for your video, it really helped me out of a tough spot

    • @CJ-wk1xj
      @CJ-wk1xj 3 ปีที่แล้ว

      @@brandonchung5305 hello! Would you be open to sharing the code? I'm working on a similar project and i am a bit stuck. Or if possible, would you be open for a chat??

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

      @@CJ-wk1xj Hey, send me a message on Discord at DeltaHarbinger#7582. I'll respond in a few hours

    • @CJ-wk1xj
      @CJ-wk1xj 3 ปีที่แล้ว

      @@brandonchung5305 i just did :)

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

    You teach better than paid courses which I've been taking for a couple of months. Please keep up the good work, thank you very much, you're teaching me a lot!

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

    This is exciting, I was finally able to use your tutorial to train and test a working detector! you are making machine learning accessible to someone without a background in it, and I appreciate that. I only trained a small model (I did a beer detector lol), but this will be a great foundation for a larger paper I'm working on for my undergraduate final project. Thanks again!

  • @nojoodal-ghamdi5579
    @nojoodal-ghamdi5579 ปีที่แล้ว

    You are a life saviour! I have a senior project and had to train a model on custom data, your notebook and explanation literally saved me! Fr! I learned from you more than 3 college courses of ai, thank you so so much

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

    Hi! First of all I want to thank you for all your videos and the way you share your knowledge, that is invaluable and appreciated!
    A while ago, I trained a single class with YOLOv3 to detect Argentine license plates (the old ones and the new ones) with 340 images. Of the 340 images you can detect 339, there is always one that does not detect it, it does not matter. I have done it because I wanted to try a Raspberry Pi and a webcam, do license plate recognition to recognize the characters and save them in a database, and that's where I am limited with my knowledge. Once I recognize where the patent is and draw a frame around it (already done), I need to extract it, correct its perspective, and do the OCR. I have seen that there exists YOLO, Tiny YOLO, Tensor Flow, Kereas, etc, and all of them using OpenCV; and the truth is that I already got lost. In your experience, what would be the ideal path to follow for a modest project like the one I want to do? Thank you very much.

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

      I would recommend OpenCV with python. You can save the YOLOv4 detections and then run the OCR on the saved image. I will try and create a video showing how to do this on my license plate detector.

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

      @@TheAIGuy I'll be looking forward for your video!

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

      @@TheAIGuy can you make relatime ocr? so yolov4 detection and make it to OCR too iin one network

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

      @@TheAIGuy Please make video on extracting licence plate only from this image and applying OCR pytesseract on same..also for video as well.. please sir

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

      @@TheAIGuy Sir, your videos are really helpful.i really appreciate your efforts and work.
      Thank you so much

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

    This is such a useful video. Extremely helpful and well documented notebook:)

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

      Glad it was helpful! Thanks for the kind words.

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

    Hands down the most concise and practical YOLO tutorial I've seen anywhere!

  • @Steve-gs6nm
    @Steve-gs6nm 4 ปีที่แล้ว +4

    Waiting for this so far! Thank you!

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

    You're such a life savior. Stay Blessed !

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

    You just made my day even better ! =)

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

    One of the most useful and comprehensive videos I have watched in a long time. A lot of videos leave out important detail. Thank you.

  • @tmccormick92
    @tmccormick92 2 ปีที่แล้ว +1

    Thanks, this tutorial still works as of 2/28/2022. The only issue is that Step 5 may not work on a free GPU instance. Google Colab offers plans to access High-RAM GPUs at $9.99/month. I bought the subscription, changed the runtime to a High-RAM GPU, and Step 5 worked for me.

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

    Best Content and Best Explanation on Internet, Immediately subscribed to your channel when u started explaining the datasets making ..... BEST

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

    amazing tutorial dude! You smashed DEEPLEARNING into a piece of cake!

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

    Man you are just awesome...couldn't find multiple subscribe button..Thank you so much

  • @SachinSharma-lv9ew
    @SachinSharma-lv9ew 4 ปีที่แล้ว +1

    @The AI Guy Thanks a lot for this video. I have trained the model on Custom Dataset of Retail Receipt Detection. It's working fine.
    But I think my model is over fitted. I have early stop the training at 1100 iteration.
    This is the MAP of my checkpoint.
    Done! Loaded 162 layers from weights-file
    calculation mAP (mean average precision)...
    Detection layer: 139 - type = 27
    Detection layer: 150 - type = 27
    Detection layer: 161 - type = 27
    152
    detections_count = 172, unique_truth_count = 150
    class_id = 0, name = retailReceipt, ap = 99.09% (TP = 149, FP = 2)
    for conf_thresh = 0.25, precision = 0.99, recall = 0.99, F1-score = 0.99
    for conf_thresh = 0.25, TP = 149, FP = 2, FN = 1, average IoU = 83.67 %
    IoU threshold = 50 %, used Area-Under-Curve for each unique Recall
    mean average precision (mAP@0.50) = 0.990915, or 99.09 %
    Total Detection Time: 8 Seconds

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

    I would like to thank you for this video and the collab notebook you single handedly saved my final year project. And i hope you are doing well man. Keep up the good work you are the best

  • @akashnag6459
    @akashnag6459 ปีที่แล้ว

    Thanks a lot. Been stuck at this for last few days. Great video. The backup part is awesome.

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

    Thank you! your tutorial is definitely one of the best if not the best!.

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

      Thanks so much! Much appreciated.

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

    I need to thank you for your job, it's obvious that this didn't worked everything as expected and I ended up solving many problems all along the training, but that's how we make science, discovering and understanding; Of course that without you it would be a LOT harder, thank you, I finally trained my first model!

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

    Thanks bro .Your videos are just amazing .I just want to suggest that kindly make video regarding test data on custom trained model and also a video regarding description of the output of yolo v4.Other than that you are just amazing

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

      Appreciate it. Thanks for the great ideas, noted them down for future videos.

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

      @@TheAIGuy So nice of you. Great work my friend👌🏻

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

    wow!! such value in every video! huge fan of your page: )

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

    This video has helped me a lot :D. Congratulations on the tutorial!! Will you make a video on how to build an Object Tracker using YOLOv4? I think it would be interesting and would help a lot of people to develop different applications.

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

      Great idea on the object tracker with YOLOv4! Will definitely cover this in a future video!

    • @raymondc.alvarezvelez5869
      @raymondc.alvarezvelez5869 4 ปีที่แล้ว +1

      I second this!

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

    Thanx man, it works like a charm. Looking forward for more tutorials

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

      Glad you got it working. Thanks for the support!

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

    Fantastic you nearly done my entire final year project😁, would you do YOLOv4 and Deep SORT for multi-object tracking in the future? I know you did YOLOv3 and Deep SORT and you nailed it.

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

      Will definitely cover this soon! Thanks for the support.

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

    Hi !
    Your tutorial is awesome. You have done a lot of hardwork to make this tutorial.
    Thank you so much.

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

    Man, I love you! You have no idea of how much you help me! Thanks!

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

    That was exactly what I was looking for!
    thx mate :)

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

    Man your notebook was very very helpful to me cheers...

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

    I really like the intro box animations; it's super cool

  • @miladrahimi3283
    @miladrahimi3283 ปีที่แล้ว

    New content I got from your video, thanks 4 sharing.

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

    Thank you! your tutorial is definitely one of the best if not the best!. helped me a lot

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

    Here we are! My Guy* with another trendy trend huh? Good job, thanks for the share! :D

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

    Thanks!! Great TH-cam videos and you are very good at explaining

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

    Thank you so much for making such a great video ! I learned a lot in this video, I gain lots of practical experience from it. Thank you so much !!!!

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

    As usual a really helpful tutorial, just wanted a suggestion how to store all the detected object co-ordinates from the video in a Jason file for further processing.

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

    I love your tutorials. they are just amazing. If possible could you please show training of GPT , BERT or XLnet

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

    This video has saved my life! Much respect, thanks a lot for all the time and effort you put into your videos.
    Ive trained a model to identify a pallet of boxes. I have a question, would it be possible to have a video and track an object, in my case a pallet, and then perform a some edge detection or detect another class of objects ONLY within the bounding box of the identified pallet? Basically I'm wanting to count the number of boxes on the pallet and I have it working with images, but video is the next step.
    Any advice would be awesome.

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

    It was a great tutorial.
    Thank you so much...!

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

    Thanks for your tutorial ! It helps me a lot .

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

    My friend you are a very good person.

  • @pedroh.fonseca9753
    @pedroh.fonseca9753 4 ปีที่แล้ว

    Really thank you!! It have been help me a lot in my final paper!

  • @ara5160
    @ara5160 ปีที่แล้ว

    thank you, I got to learn so much from this video!!!

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

    Thanks for the very clear explanation.

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

    wow thanks for making such a great tutorial.

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

    You deserve a million subscribers.

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

    Love your tutorials much better then the paid udemy tutorials

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

    Thanks a lot for this amazing tutorial, I really appreciate your efforts in preparing this wonderful video and this detailed notebook, god bless you :)

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

    Amazing video, very clear ! Thank you

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

    THis is really helpful, thank you so much.

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

    fantastic video

  • @ameyamahadevgonal8130
    @ameyamahadevgonal8130 2 ปีที่แล้ว +1

    Do a playlist for Yolov5 as well please...

  • @이윤성-f1e
    @이윤성-f1e 4 ปีที่แล้ว +1

    Hi, I could learn so many things in YOLO through your TH-cam!
    Now, I also want to see the tutorial on applying the model to the webcam.
    Do you have a plan to make tutorial about applying the model to the webcam?
    I hope so!

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

    another great video!!thanks!!!

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

    Great tutorial! thanks!

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

    Very useful video!
    Thank you!

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

    Amazing vdo sir ❤️

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

    Thanks for the video, I learned alot from it. Just wondering how can I change so the prediction image doesn't only include border but it also shows the percentage of confidence.

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

    Awesome tutorial! Class!
    btw, how to show the probability of each bounding box?

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

    I'm loving this video, it saved me! One question, do you know of anyone using YOLO for fire or smoke detection?

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

      Thanks for the kind words! I have not heard of anyone using YOLO for fire or smoke detection, sounds like an awesome idea for an application though!

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

    One of the best videos on yolov4...
    Thanks for explaining it so well
    I have a small doubt... can we change the batch_size=2 and image_size=1024??
    If we can do it what should be the value of subdivision??

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

    Thank you so much man🥺 god bless you

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

    would really like to see you do this tutorial for a local machine using CPU or GPU options. Having trouble implementing on my local pc. Thanks.

  • @MuhammadHussain-ws1xs
    @MuhammadHussain-ws1xs 3 ปีที่แล้ว

    This has to be the most thorough and effective step by step guide for yolo setup i have came across.
    After training the model i'm looking at deploying it to a hardware device, any ideas? (I have a device that can run yolov3 models on it)
    Thanks

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

    You're a god, thank you so much!

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

    Hey, you are awesome! One Question: Can you make a Video how to use Yolov4 with a webcam? Same Video like the Yolov3 one, just for Yolov4. I tried to transform the weights file of yolov4 with the same code of your yolov3 video into .tf but it run into some issues. As I expected it doesn't work. Thank you for sharing! :)

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

      Will definitely cover a webcam video in the near future for YOLOv4! I'll let you know when it gets posted!

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

    What if we wanted to just add 1 more class to the ones YOLOv4 can already detect? In particular I would like to detect both "people" and "faces" using the custom functions you made in a later video for detecting and cropping these 2 classes.
    - What changes would I need to make to classes.txt, obj.data and obj.names?
    - And to the variables __C.YOLO.CLASSES (coco.names) and __C.TRAIN.ANNOT_PATH (val2017.txt) of the config.py file of your custom functions?
    I lack some experience in this field and I'm not sure whether I should retrain the whole model to detect these 2 classes from scratch or if I can just retrain the model so that it can learn to detect faces while still being able to detect people as it can by default. Love your content, the most helpful and practical I've seen :)

  • @Shubham-nx7px
    @Shubham-nx7px 3 ปีที่แล้ว

    thank you. excellent work.

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

    Thanks for the great yolov4 series!. I would like the ask if "chart.png" shows loss and accuracy on training data or validation data?

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

    What changes are required if I want to train yolov3-tiny and yolov4 tiny?

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

      You would want to edit yolov4-tiny.cfg inside the cfg/folder for the custom cfg. As well you will need to download the initial tiny weights for training instead of the .conv file used for full yolov4.

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

      @@TheAIGuy can you provide the links for both yolov3-tiny and yolov4-tiny initial weights link from where I can download these weights. Thanks

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

    Hello Sir, I have learnt use of YOLO by watching your videos. Thank you for providing such videos. Sir can you please provide us video on how to distinguish between static and moving object using YOLO in google colab?

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

    AI Guy, Thanks for a nice tutorial brother ,this tutorial is supper amazing,through this tutorial I have done a lot of my pending projects .thank you so much brother .But would you please share with us on how we can determine the mAP OF YOLOV3 MODEL .

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

    great tutorial.. thanks a lot

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

    thanks for sharing, helped a lot

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

    Very nice. It would be even nicer if you can show converting the model to tflite and using it in an Android studio project.

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

    I have a question. I already follow your tutorial on building object tracking using yolov3 and it works. But how do I get some kind of result on the tracking in terms of value or graphs? I need to evaluate the tracker output. I hope you can help me with that. Thank you

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

    thx bruh

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

    Great Video! So in the future after I created the initial model, how would I be able to add more classes to the model?

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

    Can we get a webcam tutorial? :)

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

      Will be doing a YOLOv4 webcam tutorial shortly as multiple people are asking for it! Thanks for the suggestion. :)

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

      @@TheAIGuy Nice! Thanks for sharing your knowledge.

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

    amazinggg thank you so much

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

      Thanks my man! Hope all is well with you.

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

    Could you please do a video on how to use TPU for the same custom training?. Illustrating the changes required in code also.

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

    Big Thanks Bro

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

    Hi Bro, a cheers from HK! I hv followed every steps in yr tutorial, using a trained weight model (yolov3_8000) from others instead of yr pre-trained weights.
    When I directly do Step 7: Run Custom Object Detector without train it on Colab, it shows "Unable to init server: Could not connect: Connection refused "
    When I go to check the mAP of his model, it shows "Allocate additional workspace_size = 52.43 MB,
    Loading weights from /.weights...Couldn't open file: /.weights ".
    Can u advise how to solve this? Really really appreciate to u, bro!!!!

  • @007harshgupta4
    @007harshgupta4 2 ปีที่แล้ว

    Thanks a lot !

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

    I am having an issue, the generate_test.py and generate_train.py scripts are generating empty train and test.txt for me.

  • @raymondc.alvarezvelez5869
    @raymondc.alvarezvelez5869 4 ปีที่แล้ว +5

    Let’s say yolo is detecting multiple objects of the same class, is there a way to conditionally stop detecting one of those objects?

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

      yes check the *pyimagesearch* blog in which opencv has been used to read from the trained yolo model, subsequently taking the raw output and accepting only the detections related to some specific class.

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

    Thanks for your Great support. !
    My best wishes for your future videos. Your passion and energy is motivational for new learners.
    Kindly help me that how can I amend this custom object detection for live streaming data from Cameras or Webcam. Kindly suggest way ahead. I tried but no affirmative results yet.

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

    Hey sir thankyou for this amazing video, I wanted to ask you how can I get the confidence for each prediction?

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

    hello, thank you for sharing, yr a lifesaver, wondering if I could just replace my trained weight directly to the yolo_webcam colab book you shared?

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

    Thanks for this amazing tutorial. Much appreciated. I guess I have one comment though. When you train this model with new classes, it seems like it is actually losing all the original classes. I am assuming that was the intention all along? Doing a transfer learning on the core model with only the classes you would want to use.
    Is it possible to actually add classes to the original list. That way we can still keep the original classes and improve the usability of the library. Thanks in advance.

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

      Hey Rajesh,
      I am also trying to find a way to do the same by adding new classes to the existing list of COCO. Did you find any approach that lets us do this?

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

    thanks for this :)

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

    How can we implement this on tensorflow and tensorflow lite ? Btw this is an amazing tutorial , truly practical and useful.

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

      Immanuel Jzv Will be posting a video tomorrow that goes over implementing yolov4 with tensorflow and tflite!

  • @vinayjakkali8777
    @vinayjakkali8777 2 ปีที่แล้ว +1

    Hi The AI Guy,
    Great video! I have a couple of questions.
    1. Is there a way I can save the chart.png that shows both avg loss and map, to my google drive?
    2. My weights saved every 10k iterations instead of 1k iterations, where would I make this change to make sure that the weights are saved every 1k iterations instead of 10k iterations?
    3. Any recommendations/suggestions to keep in mind for OCR using YOLOv4?

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

    By any chance could you create a Google Colab for Yolo 9000? It allows there to be 9000 or more classes at a single time. This would be way more useful at classifying things with better name accuracy. For example I want to be able to know about different plants and politicians found in videos.

  • @raffelravionaldo463
    @raffelravionaldo463 2 ปีที่แล้ว +1

    Thank's for a video, I want ask something , how to change conf_threshold and IoU_Threshold went I want to check my model mAP (step 6)?

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

    Thanks for the tutorial. Can you please make a video on detecting customized objects on a video and webcam?

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

      Sri Aditya B already have videos on this! Check them out.

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

      @@TheAIGuy Just a small correction. I mean do you have videos on it using colab. It would be great if you can help me out here.

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

      Sri Aditya B this video shows custom trained model and how to run on video.

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

      @@TheAIGuy Thanks

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

    Many thanks for a great video! I am training it on a small dataset of UAV images. I was wondering if you could suggest resources to understand more about your choice of model hyperparameters (the configuration file numbers) as per the equations, please?

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

    Awesome tutorial! Thankful
    btw, how to calculate the mAP in test dataset ?

  • @Michael-ve3sl
    @Michael-ve3sl 3 ปีที่แล้ว

    Thank you!!