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

Can't running python files #6

Closed byueng closed 5 months ago

byueng commented 5 months ago

Guys, why can't I run example file which locates in "examples" folder. I see all packages I need is ok, but when I ran it said "ModuleNotFoundError: No module named 'nougat_latex'". First, I think there's no "init.py", then I made it. But it didn't work. I didn't see any discussion about it, so all of your python files work correctly? I feel so surpurised about it.

NormXU commented 5 months ago

@byueng You may want to include the absolute path of your current directory in the sys.path list