RECON icon indicating copy to clipboard operation
RECON copied to clipboard

Files missing - 'W_ent2rel.json.npy'

Open aakashb95 opened this issue 5 years ago • 1 comments

Hi, thanks for your paper and code. I downloaded the data and have put in ./data/ accordingly. However, I couldn't find these files in your repo. I am running this on colab. The GAT folder is in the main directory of this code and doesn't contain the missing file. Could you please upload any missing files? Thanks

ERROR:root:No list found. [Errno 2] No such file or directory: '../resources/property_blacklist.txt'
ERROR:root:No list found. [Errno 2] No such file or directory: '../../resources/property_blacklist.txt'
ERROR:root:No list found. [Errno 2] No such file or directory: '../resources/property_blacklist.txt'
ERROR:root:No list found. [Errno 2] No such file or directory: '../../resources/property_blacklist.txt'
Traceback (most recent call last):
  File "train.py", line 410, in <module>
    train()
  File "train.py", line 102, in train
    W_ent2rel_all_rels = np.load(w_ent2rel_all_rels_file)
  File "/usr/local/lib/python3.7/dist-packages/numpy/lib/npyio.py", line 416, in load
    fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: './models/GAT/WikipediaWikidataDistantSupervisionAnnotations/W_ent2rel.json.npy'

aakashb95 avatar Jul 01 '21 14:07 aakashb95

Hi,

This is the model file which will be obtained after running the training code in GAT_sep_space/main.py on your data.

ansonb avatar Jul 05 '21 04:07 ansonb