yicheng-w / CommonSenseMultiHopQA

Code for EMNLP 2018 paper "Commonsense for Generative Multi-Hop Question Answering Tasks"
MIT License
123 stars 30 forks source link

cider_scorer #9

Open Azade0506 opened 4 years ago

Azade0506 commented 4 years ago

after running this code in commandline on windows:

python src/config.py \
    --mode build_dataset \
    --data_dir raw_data/narrativeqa \
    --load_commonsense \
    --commonsense_file data/cn_relations_orig.txt \
    --processed_dataset_train data/narrative_qa_train.jsonl \
    --processed_dataset_valid data/narrative_qa_valid.jsonl \
    --processed_dataset_test data/narrative_qa_test.jsonl

I get this error:

Traceback (most recent call last):
  File "config.py", line 3, in <module>
    from main import main as m
  File "C:\Users\MSI\Downloads\CommonSenseMultiHopQA-master\CommonSenseMultiHopQA-master\src\main.py", line 8, in <module>
    from pycocoevalcap.cider.cider import Cider
  File "C:\Users\MSI\Downloads\CommonSenseMultiHopQA-master\CommonSenseMultiHopQA-master\src\pycocoevalcap\cider\cider.py", line 10, in <module>
    from cider_scorer import CiderScorer
ModuleNotFoundError: No module named 'cider_scorer'