easy-graph / Easy-Graph

EasyGraph is an open-source network analysis library designed to cover advanced network processing methods. It includes functionalities for detecting structural hole spanners, network embedding, and various classic network analysis techniques.
https://easy-graph.github.io/
BSD 3-Clause "New" or "Revised" License
400 stars 39 forks source link

error about SDNE #35

Closed morningphase closed 2 years ago

morningphase commented 3 years ago

when I try to run: model1 = eg.functions.graph_embedding.sdne.SDNE(G,hidden_size=[256, 128]) # The order of model LINE. 'first','second' or 'all'. model1.train(batch_size=3000, epochs=40, verbose=2) y = model1.get_embeddings() # Returns the graph embedding results.

I get the error like: ValueError: Failed to convert a NumPy array to a Tensor (Unsupported numpy type: NPY_INT).

I'm wondering what's wrong?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.