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
When i run the code with Cora dataset ,the following occurs: /home/songzenghui/zee/struc2vec/src/algorithms_distances.py:541: RuntimeWarning: invalid value encountered in double_scalars e_list = [x / sum_w for x in e_list]
The dataset has 2708 nodes,5429 edges,and i ran python src/main.py --input graph/cora.edgelist --output emb/cora.embeddings --OPT1 True --OPT2 Ture --OPT3 True
Is the sum_w too small so that the division is invalid?
The text was updated successfully, but these errors were encountered:
I'm having the same exact issue. However, when I checked my output file for the embeddings. I was able to verify that all of the embeddings were there. I'm not sure if they would be different if struc2vec had completed without a hiccup though.
When i run the code with
Cora dataset
,the following occurs:/home/songzenghui/zee/struc2vec/src/algorithms_distances.py:541: RuntimeWarning: invalid value encountered in double_scalars e_list = [x / sum_w for x in e_list]
The dataset has 2708 nodes,5429 edges,and i ran
python src/main.py --input graph/cora.edgelist --output emb/cora.embeddings --OPT1 True --OPT2 Ture --OPT3 True
Is the
sum_w
too small so that the division is invalid?The text was updated successfully, but these errors were encountered: