Object detection using YOLO v4 and pre trained model | Deep Learning Tutorial 32 (Tensorflow)

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • In this video we will use YOLO V4 and use pretrained weights to detect object boundaries in an image. The model was trained on COCO dataset using YOLO V4.
    Watch this to understand how yolo algorithm works: • What is YOLO algorithm...
    Windows setup instructions: github.com/Ale...
    Above, I was getting errors when I used .\build.ps1 command but using following command instead worked:
    powershell -ExecutionPolicy Bypass -File .\build.ps1
    Make sure you are installing a compatible version of CUDA. For me it was CUDA 10.1, when I installed 11.x version I was getting all kind of errors so had to downgrade it to 10.1 Based on your system you might have to use a different version
    download yolov4.weights from github.com/Ale...
    COCO labels:
    tech.amikelive...
    YOLO research papers
    YOLO v1: arxiv.org/abs/...
    YOLO v2: arxiv.org/abs/...
    YOLO v3: arxiv.org/abs/...
    Do you want to learn technology from me? Check codebasics.io/... for my affordable video courses.
    #objectdetectionusingyolo #yoloobjectdetection #yolov4objectdetection #yoloalgorithm #yolov4 #yolodeeplearning
    🌎 My Website For Video Courses: codebasics.io/...
    Need help building software or data analytics and AI solutions? My company www.atliq.com/ can help. Click on the Contact button on that website.
    #️⃣ Social Media #️⃣
    🔗 Discord: / discord
    📸 Dhaval's Personal Instagram: / dhavalsays
    📸 Instagram: / codebasicshub
    🔊 Facebook: / codebasicshub
    📱 Twitter: / codebasicshub
    📝 Linkedin: / codebasics
    ❗❗ DISCLAIMER: All opinions expressed in this video are of my own and not that of my employers'.

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

  • @codebasics
    @codebasics  2 ปีที่แล้ว +6

    Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced

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

      Waiting for the video for custom image detecting model sir..please upload it

  • @Amir-gi5fn
    @Amir-gi5fn 2 หลายเดือนก่อน

    Waiting for an instance segmentation video hope there is one in the playlist

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

    Highly Informative

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

    Thanks for the video. It helps me a lot. However, I have a question here. If let’s say I have a custom dataset containing non-common objects i.e., shipping containers, and wanted to use the YOLOv4 pre-trained model (which was trained on the COCO dataset) to train on the custom dataset, but only required some classes from the COCO dataset, such as person, cars, would that be possible for transfer learning? or should I train it from scratch? Thanks.

    • @AliHassan-ip8gv
      @AliHassan-ip8gv 2 ปีที่แล้ว +1

      did u find a way to do this?

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

      Has anyone tried this?

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

      I guess it's possible if you use the weights and refer to the classes you want from the COCO dataset. and as the YOLOv4 is already a pre-trained model it will have knowledge of the classes you want already. Hope I'm not wrong ?

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

    CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
    CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
    CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
    i am facing this error can anyone plzz help me

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

    thank you so much sir it help me very much.
    one que sir, where we get all the ppts which you teach please tell sir it is very useful for me.

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

    Sir please make a video on how to add or use coco as well. I tried to use yolo on system.

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

      okay, point noted

  • @rb4754
    @rb4754 11 หลายเดือนก่อน

    Good jobs...

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

    Sir can we use yolov4 for medical image captioning .., amd can you suggest me which websites provide medical imagedataset with reports

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

    CUDA Error: no kernel image is available for execution on the device
    Can anyone please help me wid this error

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

    can you make step by step process for the complete yolov4 installation, cmake and visual studio not working properly

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

      yes it's very much required i am also not able to install yolov4, saw multiple videos but sill not working

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

    Can you please make video on YOLOR?

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

    @8:40

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

    more videos

  • @淘宝买的会员
    @淘宝买的会员 2 ปีที่แล้ว

    Is it still worth learning yolo?

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

    I was expecting some python code using YOLO :-(

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

    Hope you create an android app or web app for Yolov4

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

      Point noted. That would be a cool project indeed.

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

      @@codebasics ❤️

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

    SO WHERE IS THE TENSORFLOW PART?!?!?!?!?. Anybody can follow the instructions on the Github page!! Good job mate, pat yourself on the back before you go to bed tonight.

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

    its just such a headache installing this. I started thinking that I would learn yolo stuff. But here comes clone, install visual studio, deal with cmake compiler errors, search for solutions and it goes on.

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

    Video not even premiered and there's one dislike.😓 Should learn to appreciate one's effort for the welfare of others.

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

      ha ha I never understood those dislikes before the video is live :)

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

      @@codebasics I think people are unhappy because this quality of tutorials are free of cost😁.

  • @md.golamrasul9805
    @md.golamrasul9805 6 หลายเดือนก่อน +3

    Bro, you are a gem. I followed all the videos in the deep learning series till this one. It really helped me to revise the deep learning concepts clearly. Thanks for putting this here :)

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

    will there be any custom image classification YOLO v4 project?

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

    Sir if we don't have gpu?
    I want to know how we can use yolov4 trained model with flask for web application i have trained my model on colab on gpu as i don't have gpu setup on my pc but i want to build a web app of yolov4 with flask can you guide me

    • @aadityagupta5776
      @aadityagupta5776 10 หลายเดือนก่อน

      any suggestions what to do i want to do the same thing

    • @danianiazi8229
      @danianiazi8229 10 หลายเดือนก่อน

      @@aadityagupta5776 do you have Nvidia? Gpu activate krwana prta hai

    • @aadityagupta5776
      @aadityagupta5776 10 หลายเดือนก่อน

      @@danianiazi8229 nahi ha yar tabhi to pucha colab ma bhi bahut time lagra

    • @danianiazi8229
      @danianiazi8229 10 หลายเดือนก่อน

      @@aadityagupta5776 mainy boht try kia tga but gpu waly model require gpu, dosra version check krlo through anaconda. Saal hogye 😅

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

    you have so many tabs opened up . my laptop will crash if I do that . what is the name of the computer you are using?

  • @arpithaupd
    @arpithaupd 2 ปีที่แล้ว +5

    Thanks for the amazing session, wanted to know if YOLO can be used for dataset containing medical x-ray images too? Thanks in advance

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

    Why would you torture yourself doing this on windows.
    Otherwise, great channel.

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

    I'm having an error where I could not find the path of share\darknet, any idea how to solve this issue? :/

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

    Feedback: reduce the artificial sharpening on the videos.

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

    If I have an AMD Graohics card then how will I use GPU OF CUDA
    It doesn't support. Any other alternative please suggest?

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

    I am getting this error CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage, how do I solve?

  • @pratikk4348
    @pratikk4348 9 หลายเดือนก่อน

    for detecting object from python code , i have to do following steps ? .
    chatgpt tells me only download yolov3 weights thats enough ...............

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

    Sir, please make videos on CNN architecture, please.

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

    Hello everyone, I want to ask one thing. I may use for detecting buildings?? I have data but I never used Yolo recently

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

    if stuck 608 x m608 create 6 permanent cpu-threads on google colab at the final stage of the tutorial that you uploaded, how do you solve it, bro? Please Help.. Thank you

  • @krishpatel7499
    @krishpatel7499 7 หลายเดือนก่อน

    Thank you for this great explanation, easy to understand and follow through. I had one question though: Can I do the compiling and stuff on PyCharm ? Or maybe online compilers ?

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

    Hello sir
    Thank you for the explanation , i have a question , i use google colab i must install darknet and cuda or no i d'ont know how it work in colab
    i hope to answer me because i have a project in university
    Thanks in advance .

  • @69aniketyadav89
    @69aniketyadav89 ปีที่แล้ว

    ERROR : FileNotFoundError: Could not find module 'darknet.dll' (or one of its dependencies). Any suggestions?

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

    Hello, I just have a question
    Is GPU Nvidia gt 840m compatible for yolov4 ?????

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

    Helpful.
    By the way, why are you breaking the machine? Mery ko dedo.
    Just kidding.

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

    vcpkg install error "Error: 'install' requires 0 arguments, but 4 were provided."

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

    I have AMD Radeon graphics Card on my laptop , what should I use instead of CUDA

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

    How to completely uninstal cuda 11?
    Would like to have the link og cuda 10.1 and the cudnn as there are several versions of it and

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

    Sir it would be a great help if you could help me out with training yolo on Pascal Voc format dataset?

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

    nice video

  • @jayasri-ft8040
    @jayasri-ft8040 3 ปีที่แล้ว

    So nice sir. Really i have impressed. I have doubt. In bunch of ants say 100. can we capture individual and fix the number for them as Aunt_001 upto Aunt_100. If some aunts are gone into nest (out of our frame). After some time some aunts came out those who were entered nest. Here. 1. Can we able to identify which aunts in terms of Aunt number gone into nest, as well as which all are came out from the nest. Is it possible sir. Can we fix permenent identification number for every aunt? I appreciate your reply and eagerly waiting for your answer. Thank you.

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

    I have an Intel Graphich HD 520 on my laptop, and I am facing issues to install CUDA. Is it possible to do it ? Or they are not compatible. If not, then is there any work around. Please guide. Thanks in advance

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

      CUDA is specific to NVIDIA GPU. However, you can use GPU in various cloud implementations, then the hardware is server side.

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

    Hi Dhaval, I think at 12:08 you are referring Scores with IOU(Intersection over union).

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

    Hello, thanks a lot for your videos. please explain us the RCNN, fast Rcnn and faster Rcnn...

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

    Thank you Sir. It helped me very much!

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

      Glad it was helpful!

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

    Waiting for the video for custom image detecting model sir..please upload it

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

    for installing vc package , do we need to install Visual Studio first?

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

    Is NVIDIA GPU a requirement for installing CUDA?

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

    Please suggest some resources to understand yolo in depth. The algo and all.

  • @ZakaUrRehman-kw6gk
    @ZakaUrRehman-kw6gk ปีที่แล้ว

    Sir, I followed all your steps but when I gave the image path nothing happen it does not work.... kindly help me

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

    Sir, please make video of using YOLO on custom Dataset

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

    sir ..... unable to setup yolo tried every method and everytime got errors and tried different solutions still cant setup yolo 🙏

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

      same here i am also not able to install yolov4, saw multiple videos but sill not working

  • @RaselAhmed-ix5ee
    @RaselAhmed-ix5ee 2 ปีที่แล้ว

    sir can you help me regarding my project its urgent please

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

    You should also do with some custom dataset detection

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

    make video on implementation of yolo for custom dataset

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

    Hello sir can i run yolov4 for 300 epochs???

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

    I want to purchase a laptop for these kinds of tasks. Please suggest to me any laptop.

    • @work-dw2hl
      @work-dw2hl 3 ปีที่แล้ว

      core i7 or i5 8gb ram and ssd

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

    thank you, amazingly taught!!!

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

    Can we classify the directions of an eye with yolo?

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

    Hats off to a great teacher!

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

    Thank you so much for the video. Quick question; let’s say you want to train the model you used to now also include hammers. How would you go about that?

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

    Waiting for to build custom model

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

    LMFAO!!! those tabs lol

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

    Hi dhaval sir, can you please explain how would we be able to perform the same steps on MAC with M1 chip??

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

    can you make a video on tf object detection API??

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

    when you post another video in which we trained our own model of object detection

  • @prasannan-robots
    @prasannan-robots 3 ปีที่แล้ว +1

    Waiting for this

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

    Good jobs, Thanks it help me much.

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

    I love you! Thank you!

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

    If we want to detect face expression (sad, mad etc) can we use Yolo? Any suggestion what step or things I should learn to implement it?🙏

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

      You may... you have to train the model on your dataset (dataset has to be plenty)
      Better use Haar Cascade classifiers

  • @aayushgore4545
    @aayushgore4545 5 หลายเดือนก่อน

    Fantastic bhai! 🎉

  • @tengineer1453
    @tengineer1453 10 หลายเดือนก่อน

    thank you

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

    nice

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

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

    Thank you sir

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

    Sir please make an updated video on YOLO.

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

      yes it's very much required i am also not able to install yolov4, saw multiple videos but sill not working

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

      @@siddharthsingh2369 I used YOLOv5, its pretty ez to use yolov5 but it uses Pytorch

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

      @@rudralakhani9826 yes i used it later now it's working fine