-
Notifications
You must be signed in to change notification settings - Fork 18
Description
I have some problems to run cascade as local instance. I have cloned the github repo and install the given requirements. Now i run the notebook in the directory CASCADE/cascade-Jupyternotebook-SMILES/models
but there are some errors running the first cell
ImportError Traceback (most recent call last)
Cell In[2], line 4
2 import numpy as np
3 from rdkit import Chem
----> 4 from nfp.preprocessing import MolAPreprocessor, GraphSequence
6 import keras
7 import keras.backend as K
File E:\cascade\CASCADE\cascade-Jupyternotebook-SMILES\models\nfp_init_.py:1
----> 1 from .layers import *
2 from .models import *
4 custom_layers = {
5 'MessageLayer': MessageLayer,
6 'EdgeNetwork': EdgeNetwork,
(...)
14 'masked_mean_squared_error': masked_mean_squared_error
15 }
File E:\cascade\CASCADE\cascade-Jupyternotebook-SMILES\models\nfp\layers_init_.py:1
----> 1 from .layers import *
2 from .utils import *
3 from .wrappers import *
File E:\cascade\CASCADE\cascade-Jupyternotebook-SMILES\models\nfp\layers\layers.py:1
----> 1 from keras.engine import Layer
3 from keras.layers import activations
4 from keras.layers import initializers
ImportError: cannot import name 'Layer' from 'keras.engine' (C:\Users\wotan\anaconda3\lib\site-packages\keras\engine_init_.py)
Can anybody help me?