aditya-grover / node2vec

http://snap.stanford.edu/node2vec/
MIT License
2.61k stars 912 forks source link

A problem occurred in save method #56

Open littleKaa opened 5 years ago

littleKaa commented 5 years ago

process the code and throw the nullpointer exception during the execution. After check the code, Maybe
In node2vec.scala line 171:

if (Some(this.label2id).isDefined) { should be: if (Option(this.label2id).isDefined) {

1098693818 commented 3 years ago

这个好,解决问题了