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

I'm new to graphsage. Can't run. Getting error.Please explain #194

Open
tasmimul-huda opened this issue Jan 17, 2023 · 1 comment
Open

Comments

@tasmimul-huda
Copy link

I'm running the command and got the error python -m graphsage.supervised_train --train_prefix toy-ppi ./example_data/ppi --model graphsage_mean --sigmoid
Loading training data..
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/notebooks/graphsage/supervised_train.py", line 339, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "/notebooks/graphsage/supervised_train.py", line 334, in main
train_data = load_data(FLAGS.train_prefix)
File "graphsage/utils.py", line 20, in load_data
G_data = json.load(open(prefix + "-G.json"))
IOError: [Errno 2] No such file or directory: 'toy-ppi-G.json'

@ShreyashUke
Copy link

Try running this command python -m graphsage.supervised_train --train_prefix ./example_data/toy-ppi --model graphsage_mean --sigmoid

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

2 participants