GithubHelp home page GithubHelp logo

ouya-bytes / pytorch-yolo-phoc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrespmd/pytorch-yolo-phoc

0.0 2.0 0.0 332 KB

Implementation on pytorch of the code from the ECCV 2018 paper - Single Shot Scene Text Retrieval

Python 72.54% Makefile 0.52% C 14.13% C++ 0.62% Cuda 12.20%

pytorch-yolo-phoc's Introduction

Pytorch-yolo-phoc

Implementation on pytorch of the code from the ECCV 2018 paper - Single Shot Scene Text Retrieval. Paper: https://arxiv.org/abs/1808.09044

This code uses the YOLOv2 implementation from https://github.com/marvis/pytorch-yolo2 and modifies it respectively.

Training YOLO-PHOC


All paths are hardcoded and need to be edited accordingly.

Modify Cfg files for training

Change the cfg/XXXX.data file according to training objective

train  = path_to_file_with_list_of_files_to_train.txt
names = data/recognition.names
backup = backup
gpus  = 0
num_workers = 10

The file cfg/XXXX.cfg contains the config parameters for training.

A folder/file needs to be specified with the images for training time.

Download Pretrained Convolutional Weights

Download weights from the convolutional layers (Imagenet pre-trained weights)

wget http://pjreddie.com/media/files/darknet19_448.conv.23
Train The Model

Modify the options in train.py file.

python train.py

Detection Using A Pre-Trained Model


The model has been trained, achieving the following results:

  • IIIT Scene Text Retrieval dataset: 67.26
  • IIIT Sports-10k dataset: 72.73
  • Street View Text (SVT) dataset: 83.14

The weights can be downloaded from: https://drive.google.com/open?id=10NSDA8zjs-EEA9f3rj1smSuvfBYu2jm3

pytorch-yolo-phoc's People

Contributors

andrespmd avatar

Watchers

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