Skip to content
/ LAST Public

Read Ten Lines at One Glance: Line-Aware Semi-Autoregressive Transformer for Multi-Line Handwritten Mathematical Expression Recognition

License

Notifications You must be signed in to change notification settings

HCIILAB/LAST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read Ten Lines at One Glance: Line-Aware Semi-Autoregressive Transformer for Multi-Line Handwritten Mathematical Expression Recognition

GitHub Badge GitHub Badge

Python 3.7 Badge PyTorch 1.8.1 Badge PyTorch Lightning Badge

Project structure

├── README.md
├── last               # model definition folder
├── config.yaml         # config for hyperparameter
├── lightning_logs      # training logs
│   └── version_0
│       ├── checkpoints
│       │   └── epoch.ckpt
│       ├── config.yaml
│       └── hparams.yaml
├── requirements.txt
├── setup.cfg
├── setup.py
└── train.py

Install dependencies

cd LAST
# install project   
conda create -y -n LAST python=3.7
conda activate LAST
conda install pytorch=1.8.1 torchvision=0.2.2 cudatoolkit=11.1 pillow=8.4.0 -c pytorch -c nvidia
# training dependency
conda install pytorch-lightning=1.4.9 torchmetrics=0.6.0 -c conda-forge
# evaluating dependency
conda install pandoc=1.19.2.1 -c conda-forge
pip install -e .

Evaluation

python test.py  

Dataset

M²E Dataset is available at: https://www.modelscope.cn/datasets/Wente47/M2E

Related Work

Some awesome open-sourced HMER works are listed below:

WAP PR Badge

DWAP-TD ICML Badge

BTTR ICDAR Badge

TSDNet ACM Badge

ABM AAAI Badge

SAN CVPR Badge

CoMER ECCV Badge

CAN ECCV Badge

About

Read Ten Lines at One Glance: Line-Aware Semi-Autoregressive Transformer for Multi-Line Handwritten Mathematical Expression Recognition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages