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

Поделиться
HTML-код
  • Опубликовано: 7 июн 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

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

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

    good and clear explanation

  • @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  11 месяцев назад

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

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

    Thanks for informations

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

    Thanks

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

    📚 LINK TO BLOGPOST: learnopencv.com/custom-object-detection-training-using-yolov5/
    ▶ LINK TO YOLO MASTERCLASS PLAYLIST: ruclips.net/p/PLfYPZalDvZDLALsG9o-cjwNelh-oW9Xc4

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

  • @jubinthomas7041
    @jubinthomas7041 5 месяцев назад

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

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

    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

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

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

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

  • @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 10 месяцев назад +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?

  • @krypton_17
    @krypton_17 8 месяцев назад +1

    what about polygon annotation???

    • @LearnOpenCV
      @LearnOpenCV  8 месяцев назад

      You can create polygon annotations in CVAT. Check this video tutorial: ruclips.net/video/YL0l2MYUFC0/видео.html
      CVAT Tool complete tutorial playlist: ruclips.net/p/PLfYPZalDvZDLvFhjuflhrxk_lLplXUqqB

  • @YigalBZ
    @YigalBZ 10 месяцев назад

    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  10 месяцев назад

      You can employ CVAT's automatic annotation tools. Checkout the video here: ruclips.net/video/R-XXSn2ahOE/видео.html

    • @YigalBZ
      @YigalBZ 10 месяцев назад

      @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  10 месяцев назад

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

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