【文件属性】:
文件名称:im2latex:图像到LaTeX(Seq2seq +带有光束搜索的注意力)-Tensorflow
文件大小:3.62MB
文件格式:ZIP
更新时间:2021-02-06 08:51:23
tensorflow seq2seq beam-search show-and-tell imagecaptioning
Im2Latex
Seq2Seq模型,具有“注意力+光束搜索”功能,可将图像搜索到LaTeX,类似于和。
检查。
安装
在Linux上安装pdflatex(从latex到pdf)和ghostsript + (从pdf到png)
make install-linux
(大约需要10分钟,从源代码安装)
在Mac上,假设已经安装了LaTeX发行版,则应该安装pdflatex和ghostscript,因此只需要安装magick。 你可以试试
make install-mac
入门
我们提供了一个小的数据集来检查管道。 要生成图像,训练模型并评估
make small
您应该观察到,几分钟后
【文件预览】:
im2latex-master
----train.py(2KB)
----LICENSE.txt(11KB)
----configs()
--------vocab.json(151B)
--------training_small.json(355B)
--------model.json(395B)
--------vocab_small.json(156B)
--------data_small.json(942B)
--------training.json(357B)
--------data.json(957B)
----model()
--------utils()
--------base.py(7KB)
--------evaluation()
--------components()
--------__init__.py(0B)
--------encoder.py(2KB)
--------img2seq.py(9KB)
--------decoder.py(4KB)
----evaluate_img.py(2KB)
----requirements.txt(77B)
----predict.py(2KB)
----README.md(2KB)
----makefile(1KB)
----data()
--------test.formulas.norm.txt(1.4MB)
--------val.formulas.norm.txt(1.25MB)
--------train.formulas.norm.txt(11.28MB)
--------small.formulas.norm.txt(164B)
----evaluate_txt.py(2KB)
----.gitignore(79B)
----build.py(1KB)