Open sidharthrajaram opened 11 months ago
The issue was the poppler
requirement which is hard to install. I'll merge the related PR (#173) as soon as I can.
Here is a related thread: https://github.com/facebookresearch/nougat/issues/96#issuecomment-1726722085
pypdfium2
seems to be causing issues, specifically a memory leak: https://github.com/facebookresearch/nougat/issues/162#issuecomment-1786217285To that end, I was curious why
pdf2image
usage was replaced withpypdfium2
inrasterize()
?pdf2image
: https://github.com/facebookresearch/nougat/commit/9e2572bf5d100a5a7521576908eb5713e0dd24c8#diff-c8bbd899ddabbbe15845b68926b154a3be7e36fd7ebed7f59ea14c39f590be5f