0% found this document useful (0 votes)
128 views56 pages

ML Training by Custom Yolo v5

The document discusses machine learning tools and frameworks. It focuses on YOLOv5, an open source object detection model. The workshop provides steps to train a custom machine learning model using YOLOv5, including preparing datasets through image labelling and data augmentation services.

Uploaded by

Jone Eden
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
128 views56 pages

ML Training by Custom Yolo v5

The document discusses machine learning tools and frameworks. It focuses on YOLOv5, an open source object detection model. The workshop provides steps to train a custom machine learning model using YOLOv5, including preparing datasets through image labelling and data augmentation services.

Uploaded by

Jone Eden
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 56

Machine Learning

Workshop
Machine Learning Tools
Machine Learning Framework

https://github.com/ultralytics/yolov5
1) Backbone - A convolutional neural network that aggregates and forms image features at different
granularities.

2) Neck - A series of layers to mix and combine image features to pass them forward to prediction.

3) Head - Consumes features from the neck and takes box and class prediction steps.
YOLOv5
Workshop 1: ML First step

https://github.com/ultralytics/yolov5
Workshop 1: ML First step

https://github.com/ultralytics/yolov5
Workshop 1: ML First step

https://colab.research.google.com/github/ultralytics/yolov5/blob/master/tutorial.ipynb
Workshop 1: ML First step

Upload new image

https://colab.research.google.com/github/ultralytics/yolov5/blob/master/tutorial.ipynb
Workshop 1: ML First step

https://colab.research.google.com/github/ultralytics/yolov5/blob/master/tutorial.ipynb
Workshop 1: ML First step

https://colab.research.google.com/github/ultralytics/yolov5/blob/master/tutorial.ipynb
Workshop 2: Build for custom ML

https://github.com/ultralytics/yolov5
Clone template of
Colab source code
https://drive.google.com/file/d/1-dSY2aEXqK-TmJ7_-rs1fTeWHJjDlNeg/view?usp=sharing
Custom model
Map Google Drive to Colab
Map Google Drive to Colab
Map Google Drive to Colab
Map Google Drive to Colab
Run (1) and (2)
Training the model
Training the model
/content/drive/MyDrive/yolov5/data.yaml
Wait… we have to prepare datasets first
/content/drive/MyDrive/yolov5/data.yaml
Train image folder
/content/drive/MyDrive/yolov5/data.yaml
Train image folder
/content/drive/MyDrive/yolov5/data.yaml
Image Labelling
www.cvat.org
Image Labelling

www.cvat.org
Image Labelling

www.cvat.org
Image Labelling

www.cvat.org
Image Labelling

www.cvat.org
Image Labelling

www.cvat.org
Image Labelling

www.cvat.org
Image Labelling

www.cvat.org
Image Labelling

www.cvat.org
Image Labelling

www.cvat.org
Export image label

www.cvat.org
Image Augmentation
https://roboflow.com/
Image Augmentation
Image Augmentation
Image Augmentation
Update Image Folder
Image Augmentation
Image Augmentation
Image Augmentation
Image Augmentation
Image Augmentation
Image Augmentation
Image Augmentation
Image Augmentation
Image Augmentation
Image Augmentation
Image Augmentation

ตัวอยางไฟลที่ไดจากเว็บไซต roboflow

จะตองอัพโหลดไปยัง Google Drive


Training the model

อัพโหลดไฟลที่ไดทั้งหมดไปยัง Google
Drive ภายใตโฟรเดอรชื่อ yolov5
Run the training model

You might also like