Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates for Python 3 #5

Open
nsheils opened this issue Aug 20, 2019 · 1 comment
Open

updates for Python 3 #5

nsheils opened this issue Aug 20, 2019 · 1 comment

Comments

@nsheils
Copy link

nsheils commented Aug 20, 2019

In order to make this work for python 3, instances of "import cPickle as pickle" need to be changed to "import pickle"

Additionally, in data_utils.py the load_graph function must be changed from "node_maps.iteritems()" to "node_maps.items()" . Similar in graph.py

Further, all print statements now need parentheses.

@nsheils
Copy link
Author

nsheils commented Aug 20, 2019

aggregators.py, encoders.py and train_helpers also need instances of .iteritems() changed to .items()

An additional function that needs changing is "xrange" to "range" in train_helpers.py line 48, model.py line 49, and utils.py line 51, 54, 57, 58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant