Это видео недоступно.
Сожалеем об этом.

Train YOLOv10 on Custom Dataset with Ultralytics

Поделиться
HTML-код
  • Опубликовано: 12 авг 2024
  • Inside my school and program, I teach you my system to become an AI engineer or freelancer. Life-time access, personal help by me and I will show you exactly how I went from below average student to making $250/hr. Join the High Earner AI Career Program here 👉 www.nicolai-nielsen.com/aicareer (PRICES WILL INCREASE SOON)
    You will also get access to all the technical courses inside the program, also the ones I plan to make in the future! Check out the technical courses below 👇
    Want to move to Dubai and get Visa? - Book a free consultation: www.genzoneconsulting.com/mee...
    _____________________________________________________________
    In this video 📝 we are going to take a look at how you can train a custom YOLOv10 model on your own dataset with Ultralytics. We are going to use the free GPU on google colab, export the dataset from roboflow after labelling and then train it in a few lines code with Ultralytics.
    If you enjoyed this video, be sure to press the 👍 button so that I know what content you guys like to see.
    _____________________________________________________________
    🛠️ Freelance Work: www.nicolai-nielsen.com/nncode
    _____________________________________________________________
    💻💰🛠️ High Earner AI Career Program: www.nicolai-nielsen.com/aicareer
    📈 Investment Course: www.nicos-school.com/p/invest...
    ⚙️ Real-world AI Technical Courses: (www.nicos-school.com)
    📗 OpenCV GPU in Python: www.nicos-school.com/p/opencv...
    📕 YOLOv7 Object Detection: www.nicos-school.com/p/yolov7...
    📒 Transformer & Segmentation: www.nicos-school.com/p/transf...
    📙 YOLOv8 Object Tracking: www.nicos-school.com/p/yolov8...
    📘 Research Paper Implementation: www.nicos-school.com/p/resear...
    📔 CustomGPT: www.nicos-school.com/p/custom...
    _____________________________________________________________
    📷 Calibrator 📷
    My camera calibration software, CharuCo Boards, and Checker boards
    Link to webshop: camera-calibrator.com
    _____________________________________________________________
    📞 Connect with Me:
    🌳 linktr.ee/nicolainielsen
    🌍 My Website: www.nicolai-nielsen.com/
    🤖 GitHub: github.com/niconielsen32
    👉 LinkedIn: / nicolaiai
    🐦 X/Twitter: / nielsencv_ai
    🌆 Instagram: / nicolaicodes
    _____________________________________________________________
    🎮 My Gear (Affiliate links):
    💻 Laptop: amzn.to/49LJkTW
    🖥️ Desktop PC:
    NVIDIA RTX 4090 24GB: amzn.to/3Uc7yAM
    Intel I9-14900K: amzn.to/3W4Z5Cb
    Motherboard: amzn.to/4aR6wBC
    32GB RAM: amzn.to/3Jt2XVR
    🖥️ Monitor: amzn.to/4aLP8hh
    🖱️ Mouse: amzn.to/3W501GH
    ⌨️ Keyboard: amzn.to/3xUGz5b
    🎙️ Microphone: amzn.to/3w1F1WK
    📷 Camera: amzn.to/4b4Ryr9
    _____________________________________________________________
    Timestamps:
    00:00 Introduction
    00:37 Export Dataset
    02:20 Train Model
    06:27 Traning Results
    08:22 Inference with Custom Model
    09:52 Outro
    Tags:
    #yolov10 #objectdetection #customYOLOv10

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

  • @NicolaiAI
    @NicolaiAI  Месяц назад +2

    Join My AI Career Program
    www.nicolai-nielsen.com/aicareer
    Enroll in the Investing Course outside the AI career program
    nicolai-nielsen-s-school.teachable.com/p/investment-course
    Camera Calibration Software and High Precision Calibration Boards
    camera-calibrator.com/

    • @dakaradakaradakara699
      @dakaradakaradakara699 Месяц назад

      Sir, Please make tutorial for object detection with image classier on real time

    • @TheidiotAmongUs
      @TheidiotAmongUs Месяц назад

      @@dakaradakaradakara699 if you mean a real time object detection video on webcam he did make one for yolov8 a while back

  • @SlfgjkAldfjgf
    @SlfgjkAldfjgf 12 дней назад

    How to set the augmentation paramters?
    # Load the pretrained YOLOv8 model
    model = YOLO(model_path) # Use the .pt file for pretrained weights
    # Define custom augmentation parameters
    augmentation_params = {
    'degrees': 19, # Rotation in degrees
    'translate': 0.1, # Translation as a fraction of image size
    'scale': 0.5, # Scaling factor
    'shear': 2.0, # Shear angle in degrees
    'perspective': 0.0, # Perspective transformation
    'flipud': 0.5, # Vertical flip probability
    'fliplr': 0.5, # Horizontal flip probability
    'mosaic': 1.0, # Mosaic augmentation probability
    'mixup': 0.2, # Mixup augmentation probability
    'hsv_h': 0.015, # HSV hue augmentation
    'hsv_s': 0.7, # HSV saturation augmentation
    'hsv_v': 0.4, # HSV value augmentation
    }
    # Additional training parameters
    training_params = {
    'data': dataset_path, # Path to your dataset
    'imgsz': 640, # Image size
    'augment': True, # Enable augmentation
    'patience': 10, # Early stopping patience
    'save_period': 1, # Save the model after every epoch
    'save': True, # Enable saving of model checkpoints
    'resume': True, # Resume training from the last checkpoint
    'project': save_dir, # Directory to save the project
    **augmentation_params # Include custom augmentation parameters
    }
    # Train the model with custom parameters
    model.train(**training_params)
    This didn't work.

  • @arisalikbaev876
    @arisalikbaev876 22 дня назад

    Good time of the day! Has anyone encountered this issue with DetMetrics curves TODO while training your model on yolov10:
    AttributeError: 'DetMetrics' object has no attribute 'curves_results'. See valid attributes below.
    How to deal with that?

  • @fajrihanggi9759
    @fajrihanggi9759 9 дней назад

    i alrd follow step by step but this eror said
    ScannerError: while scanning a simple key
    in "", line 11, column 1:
    test:/content/dsfs-8/test/images
    ^
    could not find expected ':'
    in "", line 12, column 1:
    train:/content/dsfs-8/train/images
    i dont even know where is line 12 and how i check it

  • @user-kx1se5jz7l
    @user-kx1se5jz7l Месяц назад +1

    hi sir I am from India I have been studying AIML engineering for 2 years 3 Sem at Mysore University can you make a video about the ai class about beginner to Hero level class for students to explain AI and how to code for AI please make a video AI notes with teaching about AI for beginner thank you, sir, making a video about ai

  • @sagnumb
    @sagnumb 27 дней назад +2

    Just saw some reddit post about ultralytics yolov10, I'm not going to train my custom datasets using their wrapper due to the shady license.

    • @NicolaiAI
      @NicolaiAI  27 дней назад

      Hmm what did u read? Don’t think there is any shady stuff, it’s just an open source license with no commercial use without a license or not making the code available. Good for many things and at the end of the day someone has to pay the bills. Atleast they put stuff out there to help push the space. The big guys like Google, meta etc have tons of open source models but they are not well supported and outdated

    • @sagnumb
      @sagnumb 27 дней назад

      @@NicolaiAI Exactly why I wouldn't use their code to train my custom model, because my purpose is being able to commercialize my app one day. and me being someone that has low budget and trying to start my own business, I don't have money to pay for their license, I would prefer to use a fully open source model and not get sued at the end of the day, I thought yolo was suppose to be open source, but unfortunately Ultralytics has got a hold of most yolo nowadays.

    • @NicolaiAI
      @NicolaiAI  27 дней назад

      @sagnumb yeah pretty much all models are build on top of Ultralytics. Good benchmark against other open source models. Check out the rtdetr

  • @ignis.valorant
    @ignis.valorant Месяц назад +1

    Nice video as always, super helpful! I want to ask whether it is possible to use SAHI as a part of the training instead of the final inferences. My objects are kinda small, so I assume that using SAHI in the training phase can help a lot. I tried using tiles but it ended up being too slow to train unfortunately. Any advice is greatly appreciated

    • @NicolaiAI
      @NicolaiAI  Месяц назад +1

      Hmm yeah with roboflow you can add tiling windows as a preprocessing stop for your dataset or do it manually. It will multiple your dataset size with the number of tiles so training will take that longer

    • @ignis.valorant
      @ignis.valorant Месяц назад

      ​@@NicolaiAI thanks for the reply! So is it safe to assume that SAHI is only used when making the final inference? For example, you train an object detection model for cars seen from above (satellite data). It can make accurate inferences when the image is clear. But suppose the cars seen in another satellite image are smaller and undetectable, SAHI can help with that?

  • @shashankgsharma0901
    @shashankgsharma0901 Месяц назад +1

    can you do fintuning of LLMs also like LLaVA-NeXT? It would be great!

    • @NicolaiAI
      @NicolaiAI  Месяц назад

      Will definitely look into that! Thanks

  • @Ultralytics
    @Ultralytics Месяц назад +1

    Excellent overview of YOLOv10 with Ultralytics!

  • @user-tl3sp5fs3h
    @user-tl3sp5fs3h 5 дней назад +1

    How to hyperparameter tune in training YOLOv10 models?

    • @NicolaiAI
      @NicolaiAI  5 дней назад

      U can specify all the arguments in the train function. All the arguments can be found on the ultralytics docs

    • @user-tl3sp5fs3h
      @user-tl3sp5fs3h 3 дня назад

      @@NicolaiAI Oh, thanks a lot for the response! Could you maybe share about choosing the right hyperparameters? Your help would mean a lot!

  • @user-it6oj6sq2j
    @user-it6oj6sq2j Месяц назад +1

    Hey Nicolai just want to tell you that i have just started learning Python. If i buy your course of AI career program will i be able to reach your level.

    • @NicolaiAI
      @NicolaiAI  Месяц назад +1

      Hey awesome man! Cool that you are getting started on coding and ai. Yeah for sure, all my technical courses are in there as well together with the AI career stuff. We have tons of cool guys in there as well in the community and I help each one of the members with their own journey based on where they want to be and their current situation. But it will require hard work!