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

Files missing - 'W_ent2rel.json.npy' #2

Closed
aakashb95 opened this issue Jul 1, 2021 · 1 comment
Closed

Files missing - 'W_ent2rel.json.npy' #2

aakashb95 opened this issue Jul 1, 2021 · 1 comment

Comments

@aakashb95
Copy link

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'
@ansonb
Copy link
Owner

ansonb commented Jul 5, 2021

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 ansonb closed this as completed Jan 23, 2022
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