malllabiisc / RESIDE

EMNLP 2018: RESIDE: Improving Distantly-Supervised Neural Relation Extraction using Side Information

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Regarding Setting up of server

ayushgupt opened this issue · comments

Traceback (most recent call last):
  File "online/server.py", line 74, in <module>
    model  = RESIDE(args)
  File "/home/reidel_nyt/RESIDE/online/base_model.py", line 214, in __init__
    self.load_data()
  File "/home/reidel_nyt/RESIDE/online/base_model.py", line 177, in load_data
    self.voc2id	   	= json.load(open('./data/{}_voc2id.json'.format(self.p.dataset)))
FileNotFoundError: [Errno 2] No such file or directory: './data/riedel_voc2id.json'

Where can I get riedel_voc2id.json from? Its nowhere mentioned while setting up the server?

Hi Ayush,
Thanks for pointing it out. I have included the link for other files in the readme.

Looks like the file riedel_rel2id.json is missing from the server_data directory. I am getting the following error:

Traceback (most recent call last):
  File "online/server.py", line 74, in <module>
    model  = RESIDE(args)
  File "/home/wjv316/coref-rl/RESIDE/online/base_model.py", line 214, in __init__
    self.load_data()
  File "/home/wjv316/coref-rl/RESIDE/online/base_model.py", line 178, in load_data
    self.rel2id		= json.load(open('./data/{}_rel2id.json'.format(self.p.dataset)))
FileNotFoundError: [Errno 2] No such file or directory: './data/riedel_rel2id.json'

Hi @rahular,
Yes, I missed that file. You can check now.

Thanks