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

Поділитися
Вставка
  • Опубліковано 29 чер 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.

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

    Amazing tutorial

  • @omarfaruq1899
    @omarfaruq1899 2 роки тому +1

    good and clear explanation

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

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

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

    Thanks for informations

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

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

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

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

    Thanks

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

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

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

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

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

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

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

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

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

  • @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: ua-cam.com/video/R-XXSn2ahOE/v-deo.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.

  • @krypton_17
    @krypton_17 9 місяців тому +1

    what about polygon annotation???

    • @LearnOpenCV
      @LearnOpenCV  9 місяців тому

      You can create polygon annotations in CVAT. Check this video tutorial: ua-cam.com/video/YL0l2MYUFC0/v-deo.html
      CVAT Tool complete tutorial playlist: ua-cam.com/play/PLfYPZalDvZDLvFhjuflhrxk_lLplXUqqB.html