Git Product home page Git Product logo

mobilenetv2-yolov3's Introduction

mobilenetv2-yolov3

Tensorflow implementation mobilenetv2-yolov3 inspired by keras-yolo3

Usage

usage: yolo_video.py [-h] [--model MODEL] [--anchors ANCHORS]
                     [--classes CLASSES] [--gpu_num GPU_NUM] [--image]
                     [--input] [--output]

positional arguments:
  --input        Video input path
  --output       Video output path

optional arguments:
  -h, --help         show this help message and exit
  --model MODEL      path to model weight file, default model_data/yolo.h5
  --anchors ANCHORS  path to anchor definitions, default
                     model_data/yolo_anchors.txt
  --classes CLASSES  path to class definitions, default
                     model_data/coco_classes.txt
  --gpu_num GPU_NUM  Number of GPU to use, default 1
  --image            Image detection mode, will ignore all positional arguments
  --export           Export binary pb model for tensorflow,which you can put it in tensorflow serving directly

Train

  • Download pascal tfrecords from here.
  • Change train.py
    opt = <your session config>
    backbone = <your yolov3 backbone>
    log_dir = <path/to/your/tensorboard/log>
    batch_size = <you batch size>
    train_dataset_path = <path/to/your/train/folder>
    val_dataset_path = <path/to/your/val/folder>
    train_dataset_glob = <train glob>
    val_dataset_glob = <val glob>

Performance

3 times faster than darknet53-yolov3 with alpha=1.4 and higher accuracy

Pascal Dataset

I have packaged a pascal tfrecords for you.See here

mobilenetv2-yolov3's People

Contributors

fsx950223 avatar qqwweee avatar b02902131 avatar dleam avatar tanakataiki avatar philtrade avatar stefanbo92 avatar jiaowoboshao 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.