lukas-blecher / LaTeX-OCR

pix2tex: Using a ViT to convert images of equations into LaTeX code.
https://lukas-blecher.github.io/LaTeX-OCR/
MIT License
12.05k stars 993 forks source link

[M1 MAC] RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory #393

Open pesslovany opened 1 month ago

pesslovany commented 1 month ago

Hi, I got some error while trying to run the latexocr, am I doing something wrong?

image
pesslovany commented 1 month ago

Oh I had to create new environment per https://github.com/lukas-blecher/LaTeX-OCR/issues/234 now it works.

pesslovany commented 1 month ago

However when I try to snip something I get results that make absolutely no sense. I have tried on windows and it is working....

Such as:

image

Or results that cannot work in latex... so it cannot display the results actually.

And I get some new warnings :

image