Giter VIP home page Giter VIP logo

crnn.pytorch.iiit-5k's Introduction

For Chinese: 详细做法请参考我的博客

CRNN

A pytorch implementation of CRNN,and test it with IIIT-5K.
Support PyTorch 1.0 now.

Paper.

Netword Struct:

Type Configurations Output Size
Input W × 32 gray-scale image W × 32 × 1
Convolution #maps:64, k:3 × 3, s:1, p:1 W × 32 × 64
MaxPooling Window:2 × 2, s:2 W/2 × 16 × 64
Convolution #maps:128, k:3 × 3, s:1, p:1 W/2 × 16 × 128
MaxPooling Window:2 × 2, s:2 W/4 × 8 × 128
Convolution #maps:256, k:3 × 3, s:1, p:1 W/4 × 8 × 256
Convolution #maps:256, k:3 × 3, s:1, p:1 W/4 × 8 × 256
MaxPooling Window:1 × 2, s:2 W/4 × 4 × 256
Convolution #maps:512, k:3 × 3, s:1, p:1 W/4 × 4 × 512
BatchNormalization - W/4 × 4 × 512
Convolution #maps:512, k:3 × 3, s:1, p:1 W/4 × 4 × 512
BatchNormalization - W/4 × 4 × 512
MaxPooling Window:1 × 2, s:2 W/4 × 2 × 512
Convolution #maps:512, k:2 × 2, s:1, p:0 W/4-1 × 1 × 512
Map-to-Sequence - W/4-1 × 512
Bidirectional-LSTM #hidden units:256 W/4-1 × 256
Bidirectional-LSTM #hidden units:256 W/4-1 × label_num
Transcription - str

Requirements

  • Python 3
  • PyTorch 1.0

Usage

Click here and download IIIT-5K dataset to the 'data/' folder of current path.

python main.py --fix_depth

You can tune the hyperparameters for better performence.

crnn.pytorch.iiit-5k's People

Contributors

qjy981010 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

crnn.pytorch.iiit-5k's Issues

loss=nan

未改动源码,但是loss一致增加,最后为nan,无法正确训练。

编码解码问题

如果输入图像中的字符串是 ‘aaaa’,最后是不是就解码成一个a了

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.