facebookresearch / nougat

Implementation of Nougat Neural Optical Understanding for Academic Documents
https://facebookresearch.github.io/nougat/
MIT License
8.81k stars 560 forks source link

Dependency issues #245

Open maedoc opened 5 days ago

maedoc commented 5 days ago

hi, thanks for the library; I did have several issues regarding dependencies. So, following the pip install steps as in README, I then needed to pin some dependencies. Assuming that might change in future releases, I guess a safe approach will be as follows,

pip install nougat-ocr==0.1.17
pip install albucore==0.0.16 albumentations==1.0.0 pip install transformers==4.38.2

I understand as a research project the authors don't bother to keep up to date, but it would be nice to pin those versions for future users.

maedoc commented 5 days ago

ah I see now smoe PRs addressing these issues e.g https://github.com/facebookresearch/nougat/pull/219/files