leoribeiro / struc2vec

This repository provides a reference implementation of struc2vec.
MIT License
381 stars 116 forks source link

python 3 compatible #13

Open cgoliver opened 5 years ago

cgoliver commented 5 years ago

Added small changes to allow the code to work under python 3.

Namely:

I have only tested this on the sample/default usage command:

python src/main.py --input graph/karate-mirrored.edgelist --output emb/karate-mirrored.emb

Can't guarantee that it is python 3 compatible with all usage modes yet.