allenai / allenai/papermage

recipe.run("tests/fixtures/papermage.pdf") process keep being killed. OOM?

Aperta
#79 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
802
Fork
64
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

My setting Windows10+WSL can't run:

doc = recipe.run("tests/fixtures/papermage.pdf")
It seems to be downloading the 13 pages 100% normally, but then either killed off as a python script,
or when in quick_start.ipynb, crashes my VScode.
It works for test-uu.pdf since it only have 1 page.
But it crashes every time on papermage.pdf for 13 pages. This issue seems to be related to out-of-memory?

I'm not sure if this could be resolved.
Should there be a memory limit for using this package that I should be aware of?
I think 13 pages is not that much for most pdfs.
Is there another way around like processing it single page by single page?
However, I'm worried that this is not a good method since it wouldn't be able to fully utilize the features such as doc.pages.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.