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
214 stars 52 forks source link

Use a more consistent location for downloading trained model artifacts #10

Closed cthoyt closed 3 years ago

cthoyt commented 3 years ago

When I ran decimer (after #2), it downloaded all of the assets into the current working directory. This isn't desired after the code is packaged, and it would be better to have it download to a consistent location, such as in the home directory. I've spent a lot of time thinking about this and written the PyStow package to support this. I could send a PR after #2 is done that demonstrates what I mean

cthoyt commented 3 years ago

@Kohulan was there a fix?

Kohulan commented 3 years ago

@cthoyt Yes just fixed it :)