gae icon indicating copy to clipboard operation
gae copied to clipboard

Model storage

Open ana-kuznetsova opened this issue 6 years ago • 3 comments

Hello Thomas! Using the library I did not figure out how to store the model for subsequent use and how to get embeddings from it. Could you help me out with this?

Thank you!

ana-kuznetsova avatar Nov 26 '18 13:11 ana-kuznetsova

For model saving/loading, tf.train.Saver should work: https://www.tensorflow.org/guide/saved_model

You can get embeddings from a trained model via model.z_mean or model.embeddings (the latter one is a sample from a Gaussian latent variable for the VGAE model).

tkipf avatar Nov 27 '18 10:11 tkipf

Thank you!

ana-kuznetsova avatar Nov 28 '18 08:11 ana-kuznetsova

@ana-kuznetsova were you able to save/use the model on your own graphs?

Any help/sample code would be very useful.

Thanks

ioannisa92 avatar Jul 15 '19 02:07 ioannisa92