-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please update install info, can't replicate a working version #15
Comments
How did you complete the installation at the end? |
I didn't, that's why I wrote here. But by now, I am sorry to say, I have put this on ice. |
I couldn't install it on an M1 mac but on a linux no problem. Hope that helps |
it does not install |
I managed a version which runs under Linux, unfortunately not with GPU (some library errors), but it works with CPU at least (tested on two entirely different machines) and works at least for regular py files (jupyter not included). conda env create -f environment.yml if you want to test to see if it works at all without the jupyter stuff, here is a tiny script: from alfabet import model
mm = model.predict(['CC', 'NCCO', "C1=CC=C(C=C1)[N+](=O)[O-]", 'CC(=O)O'])
mm.rename(columns={"bde_pred": "bde_pred(ML)", "bde": "bde(dft)"}, inplace=True)
mm.drop(columns=["bdfe_pred", "bdfe"], inplace=True)
print(mm) in the file, paste this: name: alfabetpy3.7
|
For folks still waiting for a working version, it appears that the original authors have created some new/updated models while neglecting this version (including their web-based version). The paper providing updates and a link to a new repository is below. While not as easy as a pip install, I was able to get a working version going by downloading their code/models directly, following their example as provided. |
Thanks! |
The installation info could be better. I didn't get it to run at all as described using pip install, because then upon import it complains that tensorflow is missing.
If I use the setup.py instead, then the scikit module complains about min. py3.8.
Finally, after all that (and a lot of wasted time), the tests_model.py fails due to uncompiled tensorflow model:
2023-01-04 15:48:50.354177: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-04 15:48:52.097245: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-04 15:48:52.744007: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 3849 MB memory: -> device: 0, name: NVIDIA GeForce GTX 1080 Ti, pci bus id: 0000:82:00.0, compute capability: 6.1
WARNING:tensorflow:No training configuration found in save file, so the model was not compiled. Compile it manually.
The text was updated successfully, but these errors were encountered: