How To Prepare Datasets For Training YOLOv5 Object Detection- Official - YOLOV5 Training

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 มิ.ย. 2024
  • Watch this video to learn how to prepare a dataset for training a Custom Object Detector using the official YOLOv5.
    We discuss the dataset format for YOLOv5 as well as provide tips on how you should prepare a dataset that allows your model to learn efficiently. We also talk about how to perform a train-val-test split and discuss how variance in data is a primary ingredient for learning a robust model.
    ❓ FAQ
    How would you prepare a dataset for object detection?
    How do I train my YOLOv5 with a custom dataset?
    What is the name of the dataset YOLOv5 model used to detect objects?
    How many epochs should I train YOLOv5?
    📚 Link to the blog post of this video:
    learnopencv.com/custom-object...
    🎵 YOLO Master Class Playlist:
    • YOLO Master Class: Mas...
    ⭐️ Time Stamps ⭐️
    0:00-00:20: Introduction
    00:20-2:38: How to prepare your data
    2:38-6:12: How to create a Dataset
    6:12-8:18: Directory Structure
    8:18-9:02: Tools required
    🖥️ On our blog - learnopencv.com we also share tutorials and code on topics like Image Processing, Image Classification, Object Detection, Face Detection, Face Recognition, YOLO, Segmentation, Pose Estimation, and many more using OpenCV(Python/C++), PyTorch, and TensorFlow.
    🤖 Learn from the experts on AI: Computer Vision and AI Courses
    YOU have an opportunity to join the over 5300+ (and counting) researchers, engineers, and students that have benefited from these courses and take your knowledge of computer vision, AI, and deep learning to the next level.🤖
    opencv.org/courses
    #️⃣ Social Media #️⃣
    📝 Linkedin: / satyamall. .
    📱 Twitter: / learnopencv
    🔊 Facebook: profile.php?...
    📸 Instagram: / learnopencv
    🔗 Reddit: / spmallick
    🔖Hashtags🔖
    #AI #Yolov5 #machinelearning #objectdetection #deeplearning #computervision #Dataset #DataPreparation #DeepLearningTips #TrainValSplit #DataUnderstanding

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

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

    Get expert guidance, insider tips n tricks and Create stunning images, learn to fine tune diffusion models, advanced Image Editing techniques like In-Painting, Instruct Pix2Pix and many more.
    Join our Kickstarter campaign now! bit.ly/3JYh7A6

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

      Hello Sir, I'm Wakil Kumar. Please tell me about ANPR --- Automatic Number plate detection and recognization step by step ... Please ...

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

      using Yolov5 and Pytorch and ML models

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

    Thank you Satya for clear information, your way to teach is the difference! Top!

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

    I am watching the whole YOLOv5 series to learn how to customize my object detection model and I'm finding it incredibly useful. Thank you so much for the high quality content you share with us. Greetings from México!

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

      Glad to hear that! Please subscribe to our channel to never miss out on the YOLO series!

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

    Thank you so much. I really like your videos.

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

    THANKS for this video, can you tell me how you get around the "catastrophic forgetting" notice when adding new classes and training data to an existing model?

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

    Amazing tutorial

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

    good and clear explanation

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

    Thanks for informations

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

    This is the second video of yours I have watched and you explain everything so beautifully. I am a complete beginner want to use a subset of Google's Open Images but can't figure out how to create YOLO format annotations.

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

      Hi, our tutorial notebooks usually cover the dataset annotation conversion. You can also find datasets in YOLO format.

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

    Thanks

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

    Chapters
    0:00-00:20: Introduction
    00:20-2:38: How to prepare your data
    2:38-6:12: How to create a Dataset
    6:12-8:18: Directory Structure
    8:18-9:02: Tools required

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

    I have prepared data set in XML format can be used for yolov5 algorithm

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

      No, you cannot use XML format to train YOLOv5 models. Use the .txt format.

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

    Satya, can you help me with one question? What is the best pratice when using zoom level in the step of mark the object, drawing the bounding boxes? For example I'm labeling a class that appears in front of the image and there's another class that is in the end (3d) of the image and for it I need to use the zoom. Sometimes I made this questions, until which level I can use the zoom because pixels will be explosed and than maybe It's not good to use a high level of zoom. Thanks.

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

      I do not fully understand the question. Can you please share a link to an image so I can better understand it?

  • @jubinthomas7041
    @jubinthomas7041 6 หลายเดือนก่อน

    Hello sir, what exactly does 1 file per image mentioned @ 01:20 means

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

    is there any script can do the same work so we don't waste time on doining this manually ?

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

      Hello Rihab. Mostly, everyone writes their custom script depending on the raw dataset structure. But Roboflow already provides datasets in YOLO format and many other formats as well in case you need it.

  • @zy.r.4323
    @zy.r.4323 ปีที่แล้ว

    Hi! Thanks for the video. I trained custom object. But when two objects come too close it detecting as 1 object. How can I fix this?

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

      i am not sure but you can do like if two object are above 70% similar with picture than write in log "Class_$"number_of_class" "+ " detected in picture"

  • @diego-itechsegurancaeletro4930
    @diego-itechsegurancaeletro4930 2 ปีที่แล้ว +1

    Very nice and well done explanation.. Congrats.. Do you do Consulting or custom trains ? How can I contact you? Thanks

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

      We do AI consulting. Please send an email to contact@bigvision.ai with details of the project and we will follow up.

  • @krypton_17
    @krypton_17 9 หลายเดือนก่อน +1

    what about polygon annotation???

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

      You can create polygon annotations in CVAT. Check this video tutorial: th-cam.com/video/YL0l2MYUFC0/w-d-xo.html
      CVAT Tool complete tutorial playlist: th-cam.com/play/PLfYPZalDvZDLvFhjuflhrxk_lLplXUqqB.html

  • @MIKO-pe7bu
    @MIKO-pe7bu 11 หลายเดือนก่อน +1

    Is the picture of images matter? for example if i want training using img 640 can the data larger or smaller than training size?

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

      Yes, it can be.

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

    Thank you so much, I just have a question, is that okay for txt file that has the information of annotation has the shape of a polygon not a rectangle?

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

      I don't think so. How would YOLO understand what your measurements mean?

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

    Great content (much appreciated) but very annoying background music.

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

      Hi, thank you for the feedback. Your comments have been passed to the media team. We have much more videos on YOLO models. Check out the playlist section for the YOLO Master Class, or other playlists.

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

    Do I really have to mark every picture with the object myself? That is a lot of non-automated work. Can I simply place pictures which include only the object and let the software do the labeling?

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

      You can employ CVAT's automatic annotation tools. Checkout the video here: th-cam.com/video/R-XXSn2ahOE/w-d-xo.html

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

      @LearnOpenCV From this video it looks like I have to mark the points for the polygons. I wonder if there is a way to let the machine automatically identify the objects (assuming that I place in separate folders) and create Yolov5 model.

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

      Yes. In the later parts of the video, we show annotating objects using ai models.

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

    OpenCV is offering 25% discount on all its official AI courses during Independence Sale from 4th to 11th July 2022. Buy your dream course at the best price to acquire the #1 skillset of the 21st century! Learn more: opencv.org/courses

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

    📚 LINK TO BLOGPOST: learnopencv.com/custom-object-detection-training-using-yolov5/
    ▶ LINK TO YOLO MASTERCLASS PLAYLIST: th-cam.com/play/PLfYPZalDvZDLALsG9o-cjwNelh-oW9Xc4.html