Skip to content

Commit

Permalink
Merge pull request #7 from breezedeus/dev
Browse files Browse the repository at this point in the history
update download link
  • Loading branch information
breezedeus authored Feb 3, 2023
2 parents f8061d5 + 78a3781 commit 62ffe87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ only_text = '\n'.join([out['text'] for out in outs])


对于**分类模型**,系统会自动下载模型`mobilenet_v2.zip`文件并对其解压,然后把解压后的模型相关目录放于`~/.pix2text`目录中。如果系统无法自动成功下载`mobilenet_v2.zip`文件,则需要手动从 **[cnstd-cnocr-models/pix2text](https://huggingface.co/breezedeus/cnstd-cnocr-models/tree/main/models/pix2text/0.1)** 下载此zip文件并把它放于 `~/.pix2text`目录。如果下载太慢,也可以从 [百度云盘](https://pan.baidu.com/s/1kubZF4JGE19d98NDoPHJzQ?pwd=p2t0) 下载, 提取码为 ` p2t0`
对于**分类模型**,系统会自动下载模型`mobilenet_v2.zip`文件并对其解压,然后把解压后的模型相关目录放于`~/.pix2text`目录中。如果系统无法自动成功下载`mobilenet_v2.zip`文件,则需要手动从 **[cnstd-cnocr-models/pix2text](https://huggingface.co/breezedeus/cnstd-cnocr-models/tree/main/models/pix2text/0.2)** 下载此zip文件并把它放于 `~/.pix2text`目录。如果下载太慢,也可以从 [百度云盘](https://pan.baidu.com/s/1kubZF4JGE19d98NDoPHJzQ?pwd=p2t0) 下载, 提取码为 ` p2t0`

对于 **[LaTeX-OCR](https://github.com/lukas-blecher/LaTeX-OCR)** ,系统同样会自动下载模型文件并把它们存放于`~/.pix2text/formula`目录中。如果系统无法自动成功下载这些模型文件,则需从 [百度云盘](https://pan.baidu.com/s/1KgFLm6iTRK0Zn8fvu2aDzQ?pwd=p2t0) 下载文件 `weights.pth``image_resizer.pth`, 并把它们存放于`~/.pix2text/formula`目录中;提取码为 ` p2t0`
对于 **[LaTeX-OCR](https://github.com/lukas-blecher/LaTeX-OCR)** ,系统同样会自动下载模型文件并把它们存放于`~/.pix2text/formula`目录中。如果系统无法自动成功下载这些模型文件,则需从 [百度云盘](https://pan.baidu.com/s/1kubZF4JGE19d98NDoPHJzQ?pwd=p2t0) 下载文件 `weights.pth``image_resizer.pth`, 并把它们存放于`~/.pix2text/formula`目录中;提取码为 ` p2t0`



Expand Down

0 comments on commit 62ffe87

Please sign in to comment.