在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):luopeixiang/im2latex开源软件地址(OpenSource Url):https://github.com/luopeixiang/im2latex开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):Im2LatexDeep CNN Encoder + LSTM Decoder with Attention for Image to Latex, the pytorch implemention of the model architecture used by the Seq2Seq for LaTeX generation Sample results from this implementionExperimental results on the IM2LATEX-100K test dataset
Getting StartedInstall dependency: pip install -r requirement.txt Download the dataset for training: cd data
wget http://lstm.seas.harvard.edu/latex/data/im2latex_validate_filter.lst
wget http://lstm.seas.harvard.edu/latex/data/im2latex_train_filter.lst
wget http://lstm.seas.harvard.edu/latex/data/im2latex_test_filter.lst
wget http://lstm.seas.harvard.edu/latex/data/formula_images_processed.tar.gz
wget http://lstm.seas.harvard.edu/latex/data/im2latex_formulas.norm.lst
tar -zxvf formula_images_processed.tar.gz Preprocess: python preprocess.py Build vocab python build_vocab.py Train:
Evaluate: python evaluate.py --split=test \
--model_path=[the path to model] \
--data_path=[data dir] \
--batch_size=32 \
--ref_path=[the file to store reference] \
--result_path=[the file to store decoding result] Features
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论