NormXU / nougat-latex-ocr

Codebase for fine-tuning / evaluating nougat-based image2latex generation models
https://arxiv.org/abs/2308.13418
Apache License 2.0
115 stars 13 forks source link

move python file & corrected directory in predict code #5

Closed AhmadHakami closed 6 months ago

AhmadHakami commented 6 months ago

based on the error message: ModuleNotFoundError: No module named _nougat_latex_i updated the python file directory from the example folder to the _main_ folder also corrected the new directory in the predict terminal code

NormXU commented 6 months ago

Thank you for your PR, but I think this is unnecessary. You can run the python examples/run_latex_ocr.py --img_path "examples/test_data/eq1.png" from the main dir