Object Detection Using YOLOv4-tiny | Part 1

Поділитися
Вставка
  • Опубліковано 3 жов 2024

КОМЕНТАРІ • 44

  • @arnavthakur5409
    @arnavthakur5409 6 місяців тому

    Wonderful watching again

  • @JGamonalLara
    @JGamonalLara 3 роки тому

    Nice video, i've watched tons of tutorials about Yolo and i think this is the most comprehensive tutorial, thanks a lot!

  • @pifordtechnologiespvtltd5698
    @pifordtechnologiespvtltd5698 7 місяців тому

    Perfect

  • @freecode.ai-
    @freecode.ai- 3 роки тому

    Thank you. I always learn something new from your videos.

  • @Sunil-ez1hx
    @Sunil-ez1hx Рік тому

    Awesome video mam

  • @nugratasik4137
    @nugratasik4137 Рік тому

    Great video! You got my sub!!!

    • @CodeWithAarohi
      @CodeWithAarohi  Рік тому

      Welcome aboard!

    • @nugratasik4137
      @nugratasik4137 Рік тому

      @@CodeWithAarohi how to handle when my train stops too early? It says "Tensor Cores are disabled until the first 3000 iterations are reached"

  • @onah9613
    @onah9613 3 роки тому

    Firstly, thank you for the awesome and well explained video. secondly, may I ask how did you train your yolov4 tiny? And if you could provide the link?
    Thank you so much

    • @CodeWithAarohi
      @CodeWithAarohi  3 роки тому

      github.com/AarohiSingla/Object-Detection-Using-yolov4-tiny/blob/main/yolov4_tinyimplementation.ipynb

  • @betulsahin5419
    @betulsahin5419 2 роки тому

    Thank you for video. I want to ask. Can I use Yolov4 with open cv ? My Raspberry Pi is 3b+ and I don't want to use tensorflow, cause of size I want to use Yolov4-tiny. Can u show me the way?

  • @vidhyashree8202
    @vidhyashree8202 4 місяці тому

    How to restart the training process..once it is interrupted..can anyone please suggest me a solution

  • @ayeshakhatun3114
    @ayeshakhatun3114 Рік тому

    where is the dataset?

  • @eljacruz
    @eljacruz 5 місяців тому

    need help. everything worked well until the LAST part where an image and the bounding boxes should be shown. only the image is displayed and no objects were “detected”

    • @CodeWithAarohi
      @CodeWithAarohi  5 місяців тому +1

      Try to train your model for more epochs. No bounding box means your model haven't learned yet. Before trying this, you can try to lower the threshold value of confidence and check if your model is detecting objects with that.

    • @eljacruz
      @eljacruz 5 місяців тому

      @@CodeWithAarohi i trained it for 6000 iterations and still no bounding boxes. how do i lower the threshold value of confidence? is it the ignore_thresh variable in the test cfg file?
      for additional context, my custom dataset is of rice panicles, and the model should detect each grain in the panicle image. thanks in advance for the reply.

  • @rahulrock9750
    @rahulrock9750 Рік тому

    Mam I got error while training custom object detection using yolov4 tiny model at last can't open weight file in respective location,what might be the reason

  • @hinainam5037
    @hinainam5037 2 роки тому

    How can i run yolov4 tiny for 300 epochs???

  • @sagargu618
    @sagargu618 Рік тому

    What are the values given for anchor box suggest ?

    • @CodeWithAarohi
      @CodeWithAarohi  Рік тому +1

      In the yolov4.cfg configuration file, the anchor boxes are defined as a list of comma-separated values.
      Each set of three values corresponds to the width, height, and aspect ratio of an anchor box.
      For example, the default anchor boxes for YOLOv4 have the following values:
      anchors = 12,16, 19,36, 40,28, 36,75, 76,55, 72,146, 142,110, 192,243, 459,401
      These anchor boxes are used to detect objects at different scales and aspect ratios in the image. The first three values (12,16) represent the width, height, and aspect ratio of the anchor box used for detecting objects at the lowest resolution feature map (i.e., the grid cell size of 8x8). The next three values (19,36) correspond to the anchor box used for detecting objects at the next higher resolution feature map (i.e., the grid cell size of 16x16), and so on.

    • @sagargu618
      @sagargu618 Рік тому

      @@CodeWithAarohi Thank you for clearing my doubt

  • @freecode.ai-
    @freecode.ai- 3 роки тому

    Would you be willing to discuss yolor with deep sort on opencv? Thanks

    • @CodeWithAarohi
      @CodeWithAarohi  3 роки тому

      Will try to cover it in my upcoming videos.

  • @JOHN-vb5bh
    @JOHN-vb5bh 3 роки тому

    mam, how we can use the detectron2 resnext weights in our mobilephones

    • @CodeWithAarohi
      @CodeWithAarohi  3 роки тому +1

      HI, Never tried it but I think process will be similar. Convert your model into tensor flow model and then to tflite model Because tflite models are light model which work on mobiles.

  • @shraddhagupta7384
    @shraddhagupta7384 Рік тому

    could you please help me to figure out "how we can create yolov4 tiny model for the C# application"

  • @soravsingla6574
    @soravsingla6574 11 місяців тому

    Best UA-cam channel / Platform to learn Artificial Intelligence , Data Science , Data Analysis , Machine Learning.
    #BestChannel #UA-camChannel #ArtificialIntelligence #CodeWithAarohi #DataScience #Engineering #MachineLearning #DataAnalysis #BestLearning #LearnDataScience #DataScienceCourse #AytificialIntelligenceCourse #Codewithaarohi #CodeWithAarohi Code with Aarohi

  • @abhishekkumarsrivastava7677
    @abhishekkumarsrivastava7677 2 роки тому

    What if I want to create model with an image size of 224x224? Specifying this size in cfg file will make darknet convert input images to the given size and create a model accordingly?

    • @CodeWithAarohi
      @CodeWithAarohi  2 роки тому

      Yes, you are correct. You can choose any image size which is a multiple of 32

  • @abhishekkumarsrivastava7677
    @abhishekkumarsrivastava7677 2 роки тому

    After training using darknet on traffic sign dataset, it generates all weight files of approx. size 244MB. This size is not suitable for embedded applications. How can I reduce the weight size to less than 5 MB?

    • @CodeWithAarohi
      @CodeWithAarohi  2 роки тому

      convert your darknet model into tensorflow model and then to tflite. You will get a light weight model

    • @abhishekkumarsrivastava7677
      @abhishekkumarsrivastava7677 2 роки тому

      @@CodeWithAarohi Will 244MB model be reduced to less than the 5MB model after conversion or do I need to modify my input image size, dataset size, etc? I am asking it because, in your second video, ur weight file size was 22MB but in my case weight file is 224MB so I am doubtful that tflite could do this much reduction in model size!

    • @abhishekkumarsrivastava7677
      @abhishekkumarsrivastava7677 2 роки тому

      @@CodeWithAarohi how come the converted TensorFlow model is approx 2 MB and tflite model is 23 MB? It should have been the other way round, I guess! I wanted to use tflite on microcontrollers but this model size is pretty heavy. Please comment

    • @CodeWithAarohi
      @CodeWithAarohi  2 роки тому

      @@abhishekkumarsrivastava7677 tensorflow model should be in greater in size as compare to tflite model. 2nd you can reduce the size of tflite model by quantize.

    • @abhishekkumarsrivastava7677
      @abhishekkumarsrivastava7677 2 роки тому

      @@CodeWithAarohi I have rechecked my process multiple times, where I am creating yolo v4 tiny model weights using Darknet and then converting to tflite model using instructions given in video. For some strange reason, my tflite model file is equivalent to the size of yolov4 tiny model size. Even after quantization for Float 16, tflite model size is greater than yolov4 tiny. Can you please direct me u where I might be going wrong or where should I look to resolve this issue?