I found that in train.py mu.data.numpy() is used to get hidden_emb, but it would get None when using GCNModelAE as model, hidden_emb should be got from model.encode() instead.
In the model.py, mu was defined by logvar = self.encode(x, adj) , after defined recovered, mu, logvar = model(features, adj_norm) in train.py, you can easily get embedding with mu.data.numpy().
I found that in train.py
mu.data.numpy()
is used to get hidden_emb, but it would get None when using GCNModelAE as model, hidden_emb should be got from model.encode() instead.