Code Monkey home page Code Monkey logo

uht's Introduction

UHT

The pytorch re-implementation of paper: A method for detecting text of arbitrary shapes in natural scenes that improves text spotting.

image

How to setting the parameters?

Please go to config.py to setting them.

My running environment

python 3.7
Pytorch 1.4.0
OpenCV 3.4.2
CUDA 10.2
Ubuntu 18.04.2

Now let's try the code!

To train the code, running:

python train.py

If you want to pretrain using SynthText dataset, setting "dataset_name" in config.py as: synth_text If you want to fine-tune using Total-Text or COCO-Text dataset, setting "dataset_name" in config.py as corresponding dataset name. Remember downloading the datasets first. Here are some links that might help you:

To test the model, running:

python eval.py

We recommend these following evaluation code:

Default setting tr = 0.8 and tp = 0.4 is implemented in our experiments.

You can try our trained model: "eg_model.pth" from:

More updates are coming soon. :)

uht's People

Contributors

wqtwjt1996 avatar

Stargazers

 avatar TianBaoGe avatar  avatar Yanshuang avatar Randheer Bagi avatar

Watchers

 avatar  avatar

Forkers

xuehuiping

uht's Issues

center_loss和region_loss的影响

作者您好,我认为在loss中加入center_loss和region_loss的想法挺新颖的,但paper中貌似没有讨论这两个loss对模型性能的影响,想问一下作者,和单纯使用reg_loss相比,增加center_loss和region_loss对模型性能改善有多少?是否可以分享一下相关的实验对比记录?

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.