在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):jungomi/math-formula-recognition开源软件地址(OpenSource Url):https://github.com/jungomi/math-formula-recognition开源编程语言(OpenSource Language):Jupyter Notebook 99.5%开源软件介绍(OpenSource Introduction):Off-Line Math Formula Recognition Using Deep Neural NetworksBased on Multi-Scale Attention with Dense Encoder for Handwritten Mathematical Expression Recognition. Requirements
All dependencies can be installed with PIP. pip install -r requirements.txt If you'd like to use a different installation method or another CUDA version with PyTorch (e.g. CUDA 10) follow the instructions on PyTorch - Getting Started. DataCROHME: Competition on Recognition of Online Handwritten Mathematical Expressions has been used. As it is an on-line handwritten dataset, it consists of InkML files, but this architecture is for off-line recognition, which means that images are used as input. The dataset has been converted to images of size The data needs to be in the The training/validation split can be generated by running: python data_tools/train_validation_split.py -i data/groundtruth_train.tsv -o data/gt_split Note: The content of the generated images vary greatly in size. As longer expressions are limited to the same width, they will essentially use a smaller font. This makes it much more difficult to correctly predict the sequences, especially since the dataset is quite small. The primary focus was the attention mechanism, to see whether it can handle different sizes. If you want better results, the images need to be normalised. UsageTrainingTraining is done with the python train.py --prefix "some-name-" -n 200 -c checkpoints/example-0022.pth The For all options see EvaluationTo evaluate a model use the For example to evaluate the sets 2014 and 2016 with beam width 5: python evaluate.py -d 2014 2016 --beam-width 5 -c checkpoints/example-0022.pth |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论