8000 GitHub - CRNN-Jittor/CRNN-Jittor
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CRNN-Jittor/CRNN-Jittor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRNN-Jittor

This repository implements CRNN[^http://arxiv.org/abs/1507.05717] with Jittor.

Usage

This repository is developed and tested on Ubuntu 20.04 and CentOS 7.

Synth90k Dataset Preparation

Synth90k is used for training and evaluation.

Download

First, make sure you have transmission-cli available, which can be installed via apt install or yum install.

Then, run the following commands (Ctrl + C is necessary after transmission has completed downloading).

cd data
transmission-cli --download-dir . https://academictorrents.com/download/3d0b4f09080703d2a9c6be50715b46389fdb3af1.torrent
tar zxf mjsynth.tar.gz
mv mnt/ramdisk/max/90kDICT32px/ Synth90k
cd ..

Generate LMDB Database

python src/create_lmdb.py Synth90k

Compile with Cython

cd src
python setup.py build_ext --inplace
cd ..

Train

python src/train.py

For more options, run:

python src/train.py -h

Evaluate

To evaluate a set of parameters, run:

python src/evaluate.py -r CHECKPOINT Synth90k

For more options, run:

python src/evaluate.py -h

Predict

To test the model on demo images, run:

python src/predict.py -r CHECKPOINT demo/*.jpg

For more options, run:

python src/predict.py -h

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0