HazyResearch / hgcn

Hyperbolic Graph Convolutional Networks in PyTorch.
599 stars 107 forks source link

DATAPATH Key Error #3

Closed samueledet closed 4 years ago

samueledet commented 4 years ago

Hello,

Thanks for the well written code. I cloned the repository to my local machine, and the example on link prediction with cora dataset, but got the error below. I will appreciate your assistance in fixing this. Thank you

INFO:root:Using: cpu INFO:root:Using seed 1234. Traceback (most recent call last): File "train.py", line 153, in train(args) File "train.py", line 48, in train data = load_data(args, os.path.join(os.environ['DATAPATH'], args.dataset)) File "/home/samuel/Desktop/hgcn/hgcn/lib/python3.6/os.py", line 669, in getitem raise KeyError(key) from None KeyError: 'DATAPATH'

ines-chami commented 4 years ago

Please run source set_env.shto create environment variables before using the code.