LinXueyuanStdio / LaTeX_OCR_PRO

:art: 数学公式识别增强版:中英文手写印刷公式、支持初级符号推导(数据结构基于 LaTeX 抽象语法树)Math Formula OCR Pro, supports handwrite, Chinese-mixed formulas and simple symbol reasoning (based on LaTeX AST).
GNU General Public License v3.0
1.07k stars 234 forks source link

Please make sure you have the correct access rights WHEN I Run 'git submodule update' #56

Closed ArtificialZeng closed 2 years ago

ArtificialZeng commented 2 years ago

Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:LinXueyuanStdio/Data-for-LaTeX_OCR.git' into submodule path '/home/ailab/LaTeX_OCR/LaTeX_OCR_PRO/data' failed Failed to clone 'data'. Retry scheduled Cloning into '/home/ailab/LaTeX_OCR/LaTeX_OCR_PRO/data'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:LinXueyuanStdio/Data-for-LaTeX_OCR.git' into submodule path '/home/ailab/LaTeX_OCR/LaTeX_OCR_PRO/data' failed Failed to clone 'data' a second time, aborting

LinXueyuanStdio commented 2 years ago

Or you can download the data by yourself from https://github.com/LinXueyuanStdio/Data-for-LaTeX_OCR Just rename the dir Data-for-LaTeX_OCR to data and put it under /home/ailab/LaTeX_OCR/LaTeX_OCR_PRO.

ArtificialZeng commented 2 years ago

/bin/sh: 1: magick: not found [Errno 2] No such file or directory: 'data/small/images/val/23.png' [Errno 2] No such file or directory: 'data/small/images/val/25.png' [Errno 2] No such file or directory: 'data/small/images/val/28.png' /bin/sh: 1: magick: not found /bin/sh: 1: magick: not found [Errno 2] No such file or directory: 'data/small/images/val/26.png' /bin/sh: 1: magick: not found [Errno 2] No such file or directory: 'data/small/images/val/27.png' [Errno 2] No such file or directory: 'data/small/images/val/29.png' Building vocab...

LinXueyuanStdio commented 2 years ago

sometimes magick may fail to generate png properly. You should check the files in data dir to determine whether all the files exist or not. If not, just call magick to generate the specific file once again.