lxucs / coref-hoi

PyTorch implementation of the end-to-end coreference resolution model with different higher-order inference methods.
Apache License 2.0
59 stars 19 forks source link

Data Set up issue in Basic Set up #7

Closed sushantakpani closed 3 years ago

sushantakpani commented 3 years ago
  1. Install Python3 dependencies: pip install -r requirements.txt
  2. Create a directory for data that will contain all data files, models and log files; set data_dir = /path/to/data/dir in experiments.conf

After step 1 and 2 I tried step 3 of the Basic setup

Prepare dataset (requiring OntoNotes 5.0 corpus): ./setup_data.sh /path/to/ontonotes /path/to/data/dir

. .

reference-coreference-scorers/v8.01/test/DataFiles/TC-N.key reference-coreference-scorers/v8.01/test/test.pl reference-coreference-scorers/v8.01/test/TestCases.README bash: conll-2012/v3/scripts/skeleton2conll.sh: No such file or directory

Though there exists a coref_hoi/data/dir/conll-2012/v3/scripts/skeleton2conll.sh file. Do I need to change any other file prior to running setup_data.sh ?

lxucs commented 3 years ago

Hi, the path was not correct in the script. I have just updated the script and it should work now. Sorry for the confusion.

sushantakpani commented 3 years ago

Thank you @lxucs for this update.