Closed ignaspakamore closed 3 weeks ago
@ignaspakamore Could you provide me the exact DECIMER version installed on your system?
I am using decimer==2.7.0
Hi @ignaspakamore , I have released a new bug fix for decimer==2.7.1. Please check it and let me know if that resolves the issue.
Hi Kohulan,
I am getting this error now when running python setup.py install:
Installed /home/ignas/miniconda3/envs/decimer_test/lib/python3.10/site-packages/numpy-2.1.3-py3.10-linux-x86_64.egg error: numpy 2.1.3 is installed but numpy<2.0.0,>=1.23.5 is required by {'tensorflow'}
Hi @ignaspakamore ,
DECIMER does not explicitly require numpy as a dependency; TensorFlow manages it. I successfully installed DECIMER on my Linux terminal.
Could you try? pip install decimer==2.7.1 (maybe a clean installation?)
Hi @Kohulan,
Just tested, it works fine. Thank you very much for your help and swift replies!
Ignas
Issue Type
Bug
Source
GitHub (source)
DECIMER Image Transformer Version
2
OS Platform and Distribution
Linux ubuntu
Python version
3.10
Current Behaviour?
Following the docstring predict_SMILES() should take str or np.array as argument:
image_input (str or np.ndarray): Path of chemical structure depiction image or a numpy array representing the image.
Nevertheless, only path string can be passed. When passing np.array the error is printed out:
'numpy.ndarray' object has no attribute 'read' ...
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