Closed ArtificialZeng closed 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
.
/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...
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.
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