williamleif / GraphSAGE

Representation learning on large graphs using stochastic graph convolutions.
Other
3.43k stars 844 forks source link

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

Open tasmimul-huda opened 1 year ago

tasmimul-huda commented 1 year ago

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 commented 4 months ago

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