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

Fix create_index.read_metadata #169

Open OrianeN opened 11 months ago

OrianeN commented 11 months ago

The current dataset creation tutorial indicated in the README fails because the structure of the meta.json files has changed, as described in https://github.com/facebookresearch/nougat/issues/140

I submit here the fix that worked for me to be merged on the main branch.