Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIRROR: Multi-scale iterative refinement for robust chinese text recognition

architecture

Environment

This work was conducted with PyTorch 1.13.1, CUDA 11.7, python 3.7.

pip install -r requirements.txt

Download

Training

  • Execute the following command to train the MIRROR model.
CUDA_VISIBLE_DEVICES=0 python train.py -c=config/mirror.yml [--model_name=mirror] [--enc_version=base] [--iters=2] [--num_sa_layers=1] [--num_mg_layers=1] [--max_len=32]

Testing

  • Execute the following command to test the MIRROR model.
CUDA_VISIBLE_DEVICES=0 python test.py -c=config/mirror.yml --model_name=mirror [--enc_version=base] [--iters=2] [--num_sa_layers=1] [--num_mg_layers=1]

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages