Giter Club home page Giter Club logo

yolo_object_detection's Introduction

YoloV3_Object_Detection

Tutorials Yolo_Object_Detection for custom data:

1. Label object

Method 1: Use LabelImg -> export file txt

Method 2: Use https://www.makesense.ai/

Note: id classes as number object.

2. zip file img, upload drive

Open Google Colab

3. unzip file img in drive

4. git clone github

!git clone 'https://github.com/AlexeyAB/darknet.git' 'PATH_to_darknet'

Example:

!git clone 'https://github.com/AlexeyAB/darknet.git' '/content/drive/MyDrive/yolov3_v1/darknet'

5. Make file

!make

6. Upload 2 file py in file image unzip.

creating-files-data-and-name.py

creating-train-and-test-txt-files.py

7. Creat folder custom_weight

Then Upload file darknet53.conv.74 inside custom_weight

8. Run 2 file python in colab

!python3 /content/drive/MyDrive/yolov3_v1/images/creating-files-data-and-name.py

!python3 /content/drive/MyDrive/yolov3_v1/images/creating-train-and-test-txt-files.py

9. Dowload file: Makefile in darknet. Edit:

GPU=1

CUDNN=1

OPENCV=1

Then save, upload darknet

10. Dowload file: yolov3.cfg in cfg. Edit:

Line 6, 7: delete #

Line 20: Max_batch = number class * 2000

Line 22: Step = 90%, 110% max_batch

Find [yolo]: edit: classes, filters

Save name: yolov3_custom.cfg then upload cfg.

11. Train

!darknet/darknet detector train images/labelled_data.data darknet/cfg/yolov3_custom.cfg custom_weight/darknet53.conv.74 -dont_show

yolo_object_detection's People

Contributors

ngocson98 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.