YOLOv4 in the CLOUD: Build Object Tracking Using DeepSORT in Google Colab (FREE GPU)

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024
  • Learn how to build and run your very own Object Tracker in Google Colab! This tutorial walks you through the process of building an object tracking application using DeepSORT and YOLOv4 Object Detection in the Cloud on Google Colab's FREE GPU! Get it up and running with only a few clicks of a button. This tutorial covers it all.
    #yolov4 #deepsort #cloud
    THE GOOGLE COLAB NOTEBOOK: colab.research...
    YOLOv4 is a state of the art algorithm that uses deep convolutional neural networks to perform object detections. We can take the output of YOLOv4 feed these object detections into Deep SORT (Simple Online and Realtime Tracking with a Deep Association Metric) in order to create a highly accurate object tracker.
    GET THE CODE HERE: github.com/the...
    In this video I cover:
    1. Setting up the Colab Notebook and Enabling GPU
    2. Cloning the code and installing dependencies.
    3. Converting YOLOv4 pre-trained model into TensorFlow model.
    4. Running Object Tracker on video.
    5. Filtering allowed classes to track.
    6. Adding info flag to see detailed information on tracked objects.
    ------------------------------Resources------------------------------
    Run DeepSORT Object Tracker on Local Machine: • Object Tracking Using ...
    Learn to Convert to TFLite and TensorRT: • YOLOv4 Object Detectio...
    Configure to Run with Custom YOLOv4 Detector: • How to Build a Custom ...
    Train Custom YOLOv4 Detector in Cloud: • YOLOv4 in the CLOUD: B...
    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

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

  • @tibigumi
    @tibigumi 3 года назад +36

    Great video and tutorial! Just an FYI: I noticed today that my Google Colab had tensorflow version 2.4.0 with which the converted weights file was smaller (9 MB instead of 11MB) and the object detection + tracking were not working i.e. not found any persons, cars, etc. Then I reinstalled tensorflow version 2.3.0-rc and with that it was working properly. So if anyone were to run into the same problem check your tensorflow version in Colab.

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

      thanks that worked! keep contributing :)

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

      Great tip, this fixed it for me as well, Thank you!

    • @ThePlymouth37
      @ThePlymouth37 3 года назад +8

      Here is the code that worked for me to backdate tensorflow:
      !pip uninstall tensorflow -y
      !pip install tensorflow==2.3.0
      import tensorflow
      tensorflow.__version__

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

      @@ThePlymouth37 Thankyou, now its working

    • @automationcontrols9141
      @automationcontrols9141 2 года назад

      @@ThePlymouth37 Thanks for the tips. Its working now.

  • @TheAIGuy
    @TheAIGuy  4 года назад +29

    Hope you enjoy! Let me know if you like the Google Colab videos or if you would like to see more of them? :)

    • @oscarfrausto4502
      @oscarfrausto4502 4 года назад +2

      Very cool, could you show how to use multi/cameras ? I want to track persons with differents cameras

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

      I enjoy this colab videos. I am interested in custom object re-identification integrated with YOLO. Can you make a video on that?

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

      thank you so much! realy enjoy your videos! instance segmentation from annotating data to training custom model maybe a possible one?

    • @slann2k
      @slann2k 3 года назад +2

      Colab tutorials are really useful to quickly play around with the code quickly. What would also be useful would be more documentation explaining what are some of the thresholds/metrics/flags we can tune in Tracker.py/object_tracker.py according to our needs.
      For example, I am trying to modify this code to count the number of people who have walked past a certain checkpoint within the video, so I don't necessarily need the tracking boxes to be always present (I guess some false negatives are ok) but I really don't want ID switching which would cause double counting. Would be helpful to know which are the thresholds/metrics I should be tuning.

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

      pls make video on crowd analytics, counting people in a crowd and uploading results on cloud...

  • @jeffdryden7069
    @jeffdryden7069 3 года назад +4

    Just wanted to comment in case anyone else has this issue, while attempting to use my own custom weights DeepSort would not detect anything. I had to uncomment the dependency line, restart the kernel, re-convert the weights again and then it worked! Also wanted to say that I love this channel, thanks for everything!

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

      i have the same issue, could you tell where to uncomment to depedency line? and how to re-convert the weights?

    • @abdirahmaanyuusuf7687
      @abdirahmaanyuusuf7687 3 года назад +1

      @@rajkumarayyalsamy1971 uncomment the "!pip install requiremts " line, and once you restart the session you should execute the save_model.py again to convert yolov4 darknet wights into tensorflow model.

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

      thank you so much

  • @fauzimakarim3818
    @fauzimakarim3818 4 года назад +2

    Great video and very good channel, I'm a final semester student working on a project using YOLO and this channel is very helpful.

  • @houston3414
    @houston3414 4 года назад +3

    finally, the video I was waiting for, thank you for understanding me, going to follow carefully step by step, thank you again.

    • @TheAIGuy
      @TheAIGuy  4 года назад +2

      Hope you enjoy! Thanks for the support.

  • @KS-gy7hn
    @KS-gy7hn 3 года назад +2

    Extremely interesting videos, would love for you to tackle multi-label image classification using google colab next. Thankyou for these tutorials.

  • @shubhamshah6645
    @shubhamshah6645 4 года назад +3

    Make a Discord server, so everyone can connect with you and share some naive or good doubts which can be solved with collective intelligence.
    Thanks for putting so much efforts in making great content as always.

    • @TheAIGuy
      @TheAIGuy  4 года назад +3

      I will definitely look into setting this up. Thanks for the great suggestion.

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

      @@TheAIGuy that would be awesome.👍

  • @thanosbountliakis9487
    @thanosbountliakis9487 3 года назад +1

    Thanks a lot! you have an amazing channel. Keep on the good work!

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

    Hey TheAIGuy, you're awesome!!! You're saving in my job so hard haha. Thank you so much

  • @rick28971
    @rick28971 3 года назад +4

    Thank you very much!!!
    Is it possible to add custom classes to this object tracker just like you did with the object detector???

  • @marthagichuki4204
    @marthagichuki4204 2 года назад

    Awesome video. I had to uninstall Tensorflow version 2..0 and installed version 2.3.0 after suffering for a week

  • @pradyumnjain1578
    @pradyumnjain1578 4 года назад +3

    Hey can you make a video on configuring deepsort to train it on a custom data set ?. Love your content .

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

    this better than my computer class which costs $500

  • @jesskelly9935
    @jesskelly9935 2 года назад

    Thank you so much for your video! So easy to follow!

  • @hansalas
    @hansalas 2 года назад +1

    For those having issues, pls try the below
    ! pip uninstall tensorflow
    ! pip install tensorflow==2.3.0

  • @talhayaqoob889
    @talhayaqoob889 4 года назад +3

    amazing video! please make a video on segmentation like segnet and mask RCNN

    • @TheAIGuy
      @TheAIGuy  4 года назад +5

      Great suggestion! Definitely will be covering this in the future so stay tuned.

  • @mario977777
    @mario977777 3 года назад +2

    Para crear la red en base a tu propio dataset: Descarga tus 'pesos' obtenidos en el entrenamiento de YOLOv4 en este nuevo entorno, pon este archivo en la carpeta /data, después deberás crear en esa misma carpeta otro archivo '.names', en mi caso "obj.names", con los nombres de las clases, justo como los pusiste al entrenar YOLOv4. Por último deberás ir a la carpeta /core al archivo 'config.py' y deberás cambiar la linea "__C.YOLO.CLASSES" para que ahora apunte al archivo con los nombres de tu dataset: = "./data/obj.names" en mi caso.

  • @mwaikul
    @mwaikul 3 года назад +2

    My video has no trackers.
    My log is not showing any trackers either
    Frame #: 1
    FPS: 0.03
    Frame #: 2
    FPS: 24.59
    Frame #: 3
    FPS: 27.17
    Frame #: 4
    FPS: 27.05
    Frame #: 5
    FPS: 27.36
    Frame #: 6
    FPS: 27.42
    Frame #: 7
    Don't see any errors.
    Can you please help!

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

    Thanks man! Excellent video, keep it up

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

    great explanation with a good understanding thanks!!!

  • @nilreml1
    @nilreml1 4 года назад +3

    Thanks @The AI Guy for your nice work on yolo and deep sort! I really enjoyed the videos you did on the subjects. Best youtube content on the topic!
    Quick question: I can see that if I try to limit FPS in my yolo+deepsort pipeline, I limit the capacity of deep sort to guess similarities between bounding boxes in order to group them under the same id. Do you have an idea in order to improve the quality of this part of the pipeline? I tried to improve the FPS gradually to guess kind of the limit for now. Is there a temporal parameter in order for deep sort to perform better with longer wholes between frames, or is it just a question of training?

  • @jokosusilo303
    @jokosusilo303 4 года назад +5

    Coooollllllllll.

  • @nicholaslim9708
    @nicholaslim9708 2 года назад +1

    Hi! Great Video! Can i ask if it is able to use the weights/model from custom detect (colab) and use the weight for deepsort (colab)? If so how can i do so.

  • @DiogoSanti
    @DiogoSanti 3 года назад +1

    Cool stuff, just one intriguing thing is that, if deep-sort is trained in MARS with only humans, how the model worked really well with cars??

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

    Great Work.....
    One Query.... How to integrate Faster RCNN object detection with deep SORT

  • @HuHu3169-s7o
    @HuHu3169-s7o 4 года назад +2

    Thanks for the tutorial! It was quite helpful. But could you make a video on how to build Object Tracking using DeepSORT?
    I mean I have followed your video "YOLOv4 in the CLOUD: Build and Train Custom Object Detector (FREE GPU)" and "How to Build a Custom YOLOv4 Object Detector using TensorFlow (License Plate Detector)". They work just fine. But when I try to deploy that self-trainied yolov4-obj_last.weights with DeepSORT, it just didn't work.
    Have no idea what's going wrong about it. Thanks anyway!

  • @shubhamvashisth9518
    @shubhamvashisth9518 4 года назад +3

    @TheAIGuy
    Thanks for the video, how can we do standard detection on colab using Yolo for Live video

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

      if you are using this repo, you just need to change your input video path as "0"

  • @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?

  • @bohanho5173
    @bohanho5173 Год назад

    Why did I follow every step of your video, and the final output video didn't produce a correctly tracked bounding box like you did?

  • @adjejeremiealagbe4037
    @adjejeremiealagbe4037 2 года назад +1

    Hi AI Guy! Good job!!! One question: Where are saved the output BBox coordinates, or how to extract them and write to excel sheet? If anyone can help please do me that favor. Thanks!

  • @utkarshay
    @utkarshay 3 года назад +5

    pls make video on crowd analytics, counting people in a crowd and uploading results on cloud...

    • @TheAIGuy
      @TheAIGuy  3 года назад +4

      Sounds like a great idea! Thanks for the suggestion!

    • @shriyapotdukhe33vc56
      @shriyapotdukhe33vc56 3 года назад +1

      this will be amazing

  • @diyamourya1743
    @diyamourya1743 2 года назад

    Great video with nice explanation
    Question: How to apply YOLO in AirSim for object Detection and Tracking

  • @marthagichuki4204
    @marthagichuki4204 2 года назад

    Great work @TheAIGuy, please someone help, My tracker does not show label names, neither Ids, What i happening? Do I need to bring the detector model into the tracking model?

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

    Great video Please do a video on object detection using Densenet

  • @twoscholars
    @twoscholars 2 года назад +1

    Great video!!!!!!!!!!!
    Great work!!!!!!!!!!!.
    Just a quick question if anyone is also working on it. How do I get the coordinates of the bounding box getting tracked for the last car video he just ran.

  • @8eck
    @8eck 2 года назад

    colab is not working for me, it is just making video copy, without any bounding boxes around objects.

  • @peterr2237
    @peterr2237 Год назад

    Thanks for sharing this wonderful video. I was wondering what is the resolution of the videos that were in your experiment, and how you computed the fps as both the yolo detector and DeepSort tracker also need to take time to unpacked the bounding boxes objects particularly when the numbers are relatively high.

  • @mrconnardtroispointzero7176
    @mrconnardtroispointzero7176 3 года назад +1

    What about doing this in real time with IP webcams ?

  • @mattgillespie2743
    @mattgillespie2743 Год назад

    Hi I'm running this implementation on Google Colab and getting only 0.5fps processing speed. It would seem the GPU is not being used even though it's available. Tensorflow 2.3.0cr0 has been discontinued but it's still listed in your requirements.txt. Is there an update to get this working? Thanks

  • @akshayjaryal8930
    @akshayjaryal8930 3 года назад +1

    Please make a video on semantic segmentation or on Detectron 2.

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

    another fabulous viedo from AI guy
    btw, could you do some video about Mask RCNN, it should be fun and helpful for many people

  • @briangrey4849
    @briangrey4849 2 года назад

    I got error 'Video has ended or failed, try a different video format!' please help!

  • @meliha9250
    @meliha9250 2 года назад

    Thank you. My question is we need to train yolov4 and deepsort separately, right (if we want to fine tune both of them for our application)?

  • @VTwin4Christ
    @VTwin4Christ 2 года назад

    Can calab listen for UDP video stream and return JSON objects for each frame being processed??? On a callback URL??
    UDP to my local machine - forward UDP video traffic to calab -calab makes url callback with JSON object of what was detected.

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

    Great job, I am thinking about the motorbike thief detection project. Would you please advise me between 2 options: first one is use posenet and yolov4 then base on the wrists position to detect the malicious chance (this part is coding condition). Second option uses RNN to detect the series of action through time and predict the thief (this one is 100% AI but data is my concern).

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

    Am failing to execute same code on colab, it requires to change the video format. After running the code it does not detect

  • @Vissou
    @Vissou 4 года назад +1

    I tried the same techniques on google collab to make it work (cloning, pip install with your requirements file, placing the weight file in the correct folder ect...) before you posted the video, but it wasn't working when i was trying to save the model (an operation failed because of a problem of dimensions). Now it works perfectly but I am wondering why it couldn't work before, do you know what had to be done ?

    • @TheAIGuy
      @TheAIGuy  4 года назад +1

      Earth Shaker no i didnt change any of the commands. That is strange!

  • @jazzinho_futebol
    @jazzinho_futebol Год назад

    Anyone experiencing an issue with th object tracker not working. It worked before but recently the object tracker doesnt want to run

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

    I watched your video about how to build and train our custom object detector and it was very helpful but i have a question
    I used google to train the model then i downloaded the weights and used opencv function dnn_detectionmodel it was good at detection but it's slow and i tried the same thing using frozen inference graph .pb(pre-trained) as weights path and it was fast and i tried to have .pb file from my yolo weights (using save_model.py)then i tried doing the same (using cv2.dnn_detectionmodel ) but it doesn't work
    So the question is can we extract frozen inference graph.pb from our yolo weights and use them with opencv to have best results
    Thanks in advance

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

    Hello Thank you for these amazing videos.
    Could you please make a video about communication between 2 agents, detecting objects?

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

    Hi . Appreciate your videos. Well done. Could you answer one thing ? in one of the videos you have shown the use of OIDv4_ToolKit to download labeled pictures . However I didn't get how to download all labels for one picture. For example I'm doing detector of cars and people, and i want both labels if they exist on one image, not separately labeled two categories of images . Is there the way to download them?

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

    My GPU Memory doesn’t seems to go high and stuck with around 5 to 7 FPS. I ran real time gpu memory tracking code beside and it shows only 6GB of gpu memory is used by this 12GB GPU. Any advices?

  • @nina_________________
    @nina_________________ 2 года назад +1

    Thank you so much for the video and code! Unfortunatelly i've had some problem with the requirements that stopped the making of the video: the tensorflow-gpu requirements and pip v19.0 are in conflict with other versions or settings in my colab. How can i solve this?

    • @TheMetajose
      @TheMetajose 2 года назад

      Hey there! were you able to solve this issue, I'm having the same problem :(

  • @AbhishekBagul
    @AbhishekBagul 3 года назад +1

    update the gpu-requirements.txt tofollowing:
    tensorflow-gpu==2.3.0rc0
    opencv-python==4.1.1.26
    lxml
    tqdm
    absl-py
    matplotlib
    easydict
    pillow
    numpy==1.19.2
    tensorboard==2.4
    folium==0.2.1
    imgaug==0.2.7

  • @JackMagicOfficial
    @JackMagicOfficial 2 года назад

    Hi there, first of all thank you for this tutorial. Is it possible to change the code so I can select ROI on the first frame of the video manually and then let the tracker do its job? Or what if I only need to track few people in the video and not the rest of them?

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

    Thanks for the awesome tutorial
    Can we add custom ROI lines for counting the number of cars for upstream and downstream traffic

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

    Great video! Thanks for sharing it! It is very clear and precise.
    I wanted to ask how do you extract statistics about the object being tracked such as distance the object has covered, velocity. Is this part of deepSORT result that can be specified in the return call from the function? Also how does one add custom classes and bounding box for a new custom class?

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

    in 100th iteration of object detection is gives error and don't save the weights in Drive

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

    Hi TheAIGuy, I enjoyed your tutorials very much.
    Would appreciate it if you could do a tutorial on converting darknet yolov4 to tensorRT and run the obj detection with deepsort on jetson nano/xavier nx. Many thanks in advance

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

    Hi please if i want to run this on a different video how will I go about it. I tried inputting the video but it didn't work

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

    Which one is better for real time detection? Using YOLO per frame or using tracking algorithm like deepSORT? I got 1 FPS while rendering the output in my local machine with DeepSORT (GT 755M 2GB GDDR5 GPU)....But my end application will be on webcam video and on my local machine it gave me like 1-2 FPS on webcam lol...Hope it will be better using colab

  • @user-dv5th8jk1i
    @user-dv5th8jk1i 3 года назад

    what a wonderful tutorial..!! i really appreciate it, Thank you...!! may i ask one thing? i wonder that RealTime Tracking Possible with DeepSort? i tried to set to 0 for webcam but not working in colab.

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

    Pls make a video on Crowd counting... 🙏

  • @umarmuhammadi429
    @umarmuhammadi429 2 года назад

    How can I display the total number of people on the frame?

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

    Thank you for sharing this high level content videos. On Step5 output i get this WARNING:tensorflow:Compiled the loaded model, but the compiled metrics have yet to be built. `model.compile_metrics` will be empty until you train or evaluate the model..... And on STEP6 i didn´t get any detection. Any one with same problem ?

  • @ashutoshshukla4680
    @ashutoshshukla4680 4 года назад +2

    Great video I want to learn more about yolo can yu tell me some resource

    • @TheAIGuy
      @TheAIGuy  4 года назад +3

      Ashutosh Shukla a great first resource is the official YOLOv4 research paper! You can find a link to it in the description of this video. It covers a lot of cool information.

  • @AshishMishra-wb3ki
    @AshishMishra-wb3ki 3 года назад

    Can you help out, how to estimate the speed of the cars which was in Video.

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

    I love your videos, they are really easy to follow along with. I'm kinda teaching myself about robotics and computers, and I still have a lot to learn. I'm trying to build a home assistant robot and I have a couple microcontrollers (esp32 cam, and an Arduino Uno) I was hoping there was a way that I could stream video to google colab and have it do the processing and then send the results back to the (robot) to execute a command... Is it possible to do this some how? or is the robot going to need its own GPU for this??

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

    Hello, how can i save the output ids and positions in a JSON file?

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

    Hi Ai guy..Thanks for making such a mind-blowing video..I was just curious if we can tracks bubbles captured using high speed camera. Is there any class available for bubble detection?

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

    Amazingggggg, u are my idol

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

    What is the benefit if I buy a GPU? Looks like I can code on Colab.

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

    I followed the instructions but yolo is not working. can you check it again?? Thanks.

  • @athirapmohan6496
    @athirapmohan6496 3 года назад +3

    How can I train with my dataset (tracking fish)

    • @TheAIGuy
      @TheAIGuy  3 года назад +4

      You will need to train your own custom Yolov4 model using your dataset. The tracker can then be configured to run with your custom model.

    • @athirapmohan6496
      @athirapmohan6496 3 года назад +1

      @@TheAIGuy it will be great if you make a video about tracking using custom dataset

    • @TheAIGuy
      @TheAIGuy  3 года назад +2

      @@athirapmohan6496 it is very easy to do. You can find the detailed explanation in the code’s Readme.

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

      Hey did you figure this out? Is it necessary to train deep sort for the custom dataset as well. I track falling rocks..

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

      @@giorgossartzetakis8771 no. Just need the weight file of yolo object detection trained with our custom dataset

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

    hai thanks to tutrial yolov4
    i have i question can this running in webcam video in realtime?

  • @boypotus
    @boypotus 2 года назад

    I have a collab request for soccer shot detection on custom datasets, been having trouble -- any way to contact you ?

  • @ngochuynh3229
    @ngochuynh3229 2 года назад

    Hello sir,
    When I follow your code in the colab, the model can't predict. That means the output video looks like an input video without a bounding box with a label.
    Thank you for your reply.

    • @bohanho5173
      @bohanho5173 Год назад

      me too ,did you solve the problem?

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

    hi... Is it possible to combine two custom dataset

  • @michaelmutekeri8770
    @michaelmutekeri8770 4 года назад +1

    I am fan...can you elaborate on the join.. what comes with each package.. if there is a schedule so we can use it to its fullest if it fix my schedule... we would love to support this channel

    • @TheAIGuy
      @TheAIGuy  4 года назад +2

      Overall, the join is just a way to show your support of the channel. The basic tier is just people who want to support the channel and encourage me to make content. The 'Big Fan' tier is for those who get a lot out of the channel. I will be posting photos of projects as well as project updates for that tier.

    • @michaelmutekeri8770
      @michaelmutekeri8770 4 года назад +1

      @@TheAIGuy Will do that

    • @TheAIGuy
      @TheAIGuy  4 года назад +1

      @@michaelmutekeri8770 Much appreciated! Means a lot, thanks :)

  • @muhammedatmaca4303
    @muhammedatmaca4303 2 года назад

    how it works with webcam, does not work with webcam

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

    Hi. hi can I implement this but with social distance tracking and facemask detection? I hope someone can help me out.

  • @AlejandroDiaz-kc5lq
    @AlejandroDiaz-kc5lq 3 года назад

    Hey is it possible to run this with tensorRT in Jetson Nano?

  • @dancronin403
    @dancronin403 2 года назад

    Thanks for the video! I got this working but it's using CPU and only getting 2 FPS 😳
    I have a GPU but don't know how to activate it. Can you help?
    Thanks!!

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

    Please make a video how to add new classes in this yolov4 DeepSORT model

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

    Hi, First of all you provide a very good demonstration how it works and all the codes.
    Currently I am using your colab notebook and all the videos of it, here the detection is not working on the first step. Nothing is detected.
    I haven't done any modification in the notebook
    Please check for the same.

    • @marthagichuki4204
      @marthagichuki4204 2 года назад

      Hi Diptesh, did you get a solution to this problem? I need the same assistance

  • @shriyapotdukhe33vc56
    @shriyapotdukhe33vc56 3 года назад +1

    can you pls explain how cloud is used in this video ?

    • @TheAIGuy
      @TheAIGuy  3 года назад +1

      Google Colab notebook’s use a free Cloud VM with a GPU. So when you run the code it is running on one of Google’s machines and not your local one. Hope this helps!

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

    Hi, I really enjoy with your works. Thanks for these works. I have stucked with some multiple object tracking problems. I don't know how to prepare a train and test datasets for evaluation of multiple object tracking process (for example, I am using deepsort). Do you know how can I prepare a test set in order to evaluate yolov4+deepsort?

  • @55_it_kuldeepkumarsaini26
    @55_it_kuldeepkumarsaini26 4 месяца назад

    how tu use in yolov5 ?

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

    Thanks for the detailed video! However, for some reason no classes are detected on step 6. I can see the frame and fps which means that the video is indeed processed, but at the end it says 'Video has ended or failed, try a different video format!' and nothing has been detected. Could you please help? Thanks in advance!

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

      Hi Marita. I got the same problem. Did you manage to solve?

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

      @@eliastemponi6139Hi Elias! I actually didn’t, but I used his other video on yolov4 in the cloud (YOLOv4 in the CLOUD: Install and Run Object Detector) and it worked perfectly! It does not use DeepSORT or anything like that, but it works for me. Also in the next video of the one I mentioned, he describes in detail how to train on a custom dataset. Good luck on your project!

    • @briangrey4849
      @briangrey4849 2 года назад +1

      I too have same problem, did u get solution up to yet?

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

    its giving an opencv error when i do it on my own videos !

  • @nfaazmi3508
    @nfaazmi3508 2 года назад

    hye the AI Guy, can you help me to solve the code count person only?

  • @harunercul8874
    @harunercul8874 Год назад

    WARNING:tensorflow:Compiled the loaded model, but the compiled metrics have yet to be built. model.compile_metrics will be empty until you train or evaluate the model. this warning solution
    ! pip uninstall tensorflow
    ! pip install tensorflow==2.3.0

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

    Can anyone help me with how to add up and down function to this.

  • @adeeshbhargava8136
    @adeeshbhargava8136 Год назад

    Currently the code creates a video that doesnt track any object !

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

    Hello, I have been executing the cells without making any modifications but it does not detect anything at all, nor does it show any error and the same happens to me in the yolo v4 crop video

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

      did you get solution?I got similar problem

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

      @@lilianleonidas9565 my problem was that my custom weights were poorly trained, I tried a test with the originals and it worked and after training my own weights properly it also worked.

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

      @@AndreF0H am still failing to execute same code, as it tells me i should change the video format. can you help how you ran the code?

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

      @@AndreF0H Also for custom dataset which place needs changes apart from weights folder?

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

    cool! but could we run object tracking on the webcam live on colab using yolov4?

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

      when I build my own deepsort tracker on colab. it always says"UnboundLocalError: local variable 'ANCHORS' referenced before assignment"

  • @nfaazmi3508
    @nfaazmi3508 2 года назад

    can do in image

  • @miftahq1
    @miftahq1 Год назад

    What gpu?

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

    Is it possible to do object tracking live? If so, can you teach us?

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

      use the streams from rtsp cameras