Home

Awesome

Build Status codecov

TF2 eager implementation of Yolo-v3

I have implemented yolo-v3 detector using tf2 eager execution.

<img src="imgs/sample_detected.png" height="600" width="800">

Usage for python code

0. Requirement

I recommend that you create and use an anaconda env that is independent of your project. You can create anaconda env for this project by following these simple steps. This process has been verified on Windows 10 and ubuntu 16.04.

$ conda create -n yolo3 python=3.6
$ activate yolo3 # in linux "source activate yolo3"
(yolo3) $ pip install -r requirements.txt
(yolo3) $ pip install -e .

1. Object detection using original yolo3-weights

2. Training from scratch

This project provides a way to train a detector from scratch. If you follow the command below, you can build a digit detector with just two images. If you follow the instructions, you can train the digit detector as shown below.

After training, you can evaluate the performance of the detector with the following command.

Now you can add more images to train a digit detector with good generalization performance.

Other Results

1. Raccoon dataset : https://github.com/experiencor/raccoon_dataset

<img src="imgs/raccoon.jpg" height="300">

2. SVHN dataset : http://ufldl.stanford.edu/housenumbers/

<img src="imgs/svhn_1.jpg" height="250">

3. Udacity self-driving-car dataset : https://github.com/udacity/self-driving-car/tree/master/annotations

<img src="imgs/udacity.jpg" height="500">

4. Kitti object detection dataset : http://www.cvlibs.net/datasets/kitti/eval_object.php

<img src="imgs/kitti.jpg" height="400">

Copyright