Giter VIP home page Giter VIP logo

psenet.pytorch's Introduction

Shape Robust Text Detection with Progressive Scale Expansion Network

update 20190401

  1. add author loss, The results are compared as follows
Method Precision (%) Recall (%) F-measure (%) fps
PSENet-1s with resnet152 batch 8 myloss 85.47 78.76 81.98 1.49
PSENet-1s with resnet152 batch 8 author loss 85.04 79.68 82.27 1.48

download

resnet50 and resnet152: bauduyun extract code: rxjf

train

  1. config the trainroot,testrootin config.py
  2. use fellow script to run
python3 train.py

test

eval.py is used to test model on test dataset

  1. config model_path, data_path, gt_path, save_path in eval.py
  2. use fellow script to test
python3 eval.py

predict

predict.py is used to inference on single image

  1. config model_path, img_path, gt_path, save_path in predict.py
  2. use fellow script to predict
python3 predict.py

The project is still under development.

Performance

only train with ICDAR2015 dataset with single 1080ti

my implementation with author loss use adam and MultiStepLR

Method Precision (%) Recall (%) F-measure (%) fps
PSENet-1s with resnet50 batch 8 83.49 79.62 81.51 1.76
PSENet-2s with resnet50 batch 8 83.37 79.68 81.48 3.55
PSENet-4s with resnet50 batch 8 82.44 78.91 80.63 4.43
PSENet-1s with resnet152 batch 4 85.04 79.68 82.27 1.48
PSENet-2s with resnet152 batch 4 84.88 79.20 81.94 2.56
PSENet-4s with resnet152 batch 4 83.81 78.76 81.21 2.99

my implementation with my loss use adam and warm_up

Method Precision (%) Recall (%) F-measure (%) fps
PSENet-1s with resnet50 batch 8 tbd tbd tbd 1.76
PSENet-2s with resnet50 batch 8 tbd tbd tbd 3.55
PSENet-4s with resnet50 batch 8 tbd tbd tbd 4.43
PSENet-1s with resnet152 batch 4 85.24 80.11 82.60 1.48
PSENet-2s with resnet152 batch 4 85.02 80.06 82.46 2.56
PSENet-4s with resnet152 batch 4 83.46 79.00 81.17 2.99

official implementation use SGD and StepLR

Method Precision (%) Recall (%) F-measure (%) fps
PSENet-1s with resnet50 batch 8 84.15 80.26 82.16 1.76
PSENet-2s with resnet50 batch 8 83.61 79.82 81.67 3.72
PSENet-4s with resnet50 batch 8 81.90 78.23 80.03 4.51
PSENet-1s with resnet152 batch 4 82.87 78.76 80.77 1.53
PSENet-2s with resnet152 batch 4 82.33 78.33 80.28 2.61
PSENet-4s with resnet152 batch 4 81.19 77.13 79.11 3.00

examples

reference

  1. https://github.com/liuheng92/tensorflow_PSENet
  2. https://github.com/whai362/PSENet

psenet.pytorch's People

Contributors

wenmuzhou 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.