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.
Why is this relevant?
The script is not used in the Python package, but it contains an example of how to load the model from a checkpoint. If we publish the checkpoints, we should also provide an example of how to use them. In its current state, the code does not work (see confusion in #65).
Two options:
Delete it - It is not relevant for the DECIMER Python package, but the disadvantage with this option is that the repository won't contain any example of how to load the model from a checkpoint anymore.
Update it and add documentation - I guess this is the best solution.
Which images caused the issue? (This is mandatory for images related issues)
No response
Standalone code to reproduce the issue
see #65
or just try running or importing the code in [Predictor_EfficientNet2.py](https://github.com/Kohulan/DECIMER-Image_Transformer/blob/master/DECIMER/Predictor_EfficientNet2.py)
Relevant log output
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Issue Type
Feature Request
Source
GitHub (source)
DECIMER Image Transformer Version
2.3.1
OS Platform and Distribution
not relevant
Python version
not relevant
Current Behaviour?
Predictor_EfficientNet2.py has not been updated for a year.
Why is this relevant? The script is not used in the Python package, but it contains an example of how to load the model from a checkpoint. If we publish the checkpoints, we should also provide an example of how to use them. In its current state, the code does not work (see confusion in #65).
Two options:
Which images caused the issue? (This is mandatory for images related issues)
No response
Standalone code to reproduce the issue
Relevant log output
No response
Code of Conduct