Giter Site home page Giter Site logo

ckhung / keras-yolov3-mobilenet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adamdad/keras-yolov3-mobilenet

0.0 1.0 0.0 167 KB

I transfer the backend of yolov3 into Mobilenetv1,VGG16,ResNet101 and ResNeXt101

License: MIT License

Python 100.00%

keras-yolov3-mobilenet's Introduction

keras-yolo3-Mobilenet

Cloned from Adamdad. See original repo for full doc.

I created yolo_image.py and modified yolo.py a bit so that images can be batch-processed and the results are stored as a jpg file with boxes plus a json file with coordinates and other textual information. See YOLO 自動框出相片裡的人/動物/生活用品 for details. That post refers to my clone of the original yolo, but the .py modifications are pretty much copied directly to this repo.

Quick Start

Preparation:

  1. Clone this repo into $HOME/git/ as $HOME/git/keras-YOLOv3-mobilenet/
  2. Create $HOME/pictures/ and put .jpg files in it.
  3. Create an empty $HOME/models/ for storing downloaded and converted models.
  4. Create an empty $HOME/result/ for storing results.
  5. Start the keras docker: docker run --name keras -it -v $HOME:/srv gw000/keras:2.1.4-py3-tf-cpu bash

Then inside the docker:

pip3 install Pillow matplotlib opencv-python

cd /srv/git/keras-YOLOv3-mobilenet/
wget https://pjreddie.com/media/files/yolov3.weights -O ../models/yolov3.weights
python3 convert.py yolov3.cfg ../../models/yolov3.weights ../../models/yolo.h5
time python3 yolo_image.py --model_path ../../models/yolo.h5 --outdir ../../result/ ../../pictures/*.jpg

keras-yolov3-mobilenet's People

Contributors

adamdad avatar qqwweee avatar b02902131 avatar ckhung avatar dleam avatar tanakataiki avatar philtrade avatar stefanbo92 avatar jiaowoboshao avatar

Watchers

James Cloos 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.