This document explains the changes made compared to the original DECIMER V2 and DECIMER Image Classifier packages.
- Mac Silicon Tensorflow support - Installation handles Mac M1/M2/M3 GPU acceleration via
tensorflow-macosandtensorflow-metal(local install only, not Docker) - Server-based API - The server version uses JSON calls; the standalone version overrides the original
predict_smiles() - Python API provided - Easy integration with existing Python projects
- Note: You can still use the original
predict_smiles()function by installing the decimer packages directly
- Adjusted threshold - Uses classifier score < 0.3 instead of true/false readout, allowing reaction schemes to be classified as structures
- Reaction scheme support - The original classifier wasn't designed for reaction schemes, but this threshold adjustment makes it work
- Modified keras calls - Changed to
tf.kerasinstead of standalonekeras - Removed image saving - Removed unnecessary
save_imagecommand
To adjust the threshold, edit IC_THRESHOLD in decimer_server.py.