thomas0809 / MolScribe

Robust Molecular Structure Recognition with Image-to-Graph Generation
MIT License
153 stars 31 forks source link

molscribe hangs indefinetly with .tif file from USPTO grant red book #22

Open nbosc opened 8 months ago

nbosc commented 8 months ago

Despite all my effort to filter out any image not representing a molecular structure in my pipeline, time to time it happens that I submit one of those to MolScribe. For some of them, MolScribe does not return a structure, but it does not return anything either. I can clearly see the RAM consumption increasing but even after hours, MolScribe is still trying (or maybe it is stuck...) Maybe a time limit would help?

Example: US20230354702A1-20231102-C00260

nbosc commented 8 months ago

I should also mention that all my images are TIF

nbosc commented 7 months ago

Maybe you can't reproduce the problem so here is the image in TIF format.

US20230354702A1-20231102-C00260.TIF.zip