Kohulan / DECIMER-Image_Transformer

DECIMER Image Transformer is a deep-learning-based tool designed for automated recognition of chemical structure images. Leveraging transformer architectures, the model converts chemical images into SMILES strings, enabling the digitization of chemical data from scanned documents, literature, and patents.
MIT License
212 stars 52 forks source link

Name Error when installing #83

Closed LaurinL0801 closed 10 months ago

LaurinL0801 commented 10 months ago

https://github.com/Kohulan/DECIMER-Image_Transformer/blob/818375498dc5594d30b6022109444e8704146488/DECIMER/utils.py#L82

When trying to install DECIMER to my code I encountered the following error NameError: name 'shutil' is not defined. This could however be easily be solved by adding shutil to the imports.

Kohulan commented 10 months ago

@LaurinL0801 ,

Did you install using pip? fixed now with the latest pull request #84