node2vec
node2vec copied to clipboard
TypeError: object of type 'map' has no len()
Because python2's map function is different from python3's.
Try to modify line 86 in main.py to walks = [list(map(str, walk)) for walk in walks]
If you run main.py with python2,it worked without modifying the code
@ranzeng