You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for catching this. Looks like keras (again) updated its layer API. I have pushed the necessary changes to this repo. Model saving now works out of the box. In order to load a GCN model, you need to pass the following argument to the load_model function:
from keras.models import load_model
from kegra.layers.graph import GraphConvolution
model = load_model('gcn_model.h5', custom_objects={'GraphConvolution': GraphConvolution})
Hi Thomas,
A problem occur when i learning the gcn.I tried to save the model and reload it at the end of the train.py,
and the result as follow:
I run the code on windows 10,keras version==2.0.5,tensorflow==1.3.0, I have try many other methods but they didn't work.
Look forward your reply!
The text was updated successfully, but these errors were encountered: