yufengm / Adaptive

Pytorch Implementation of Knowing When to Look: Adaptive Attention via A Visual Sentinel for Image Captioning
107 stars 42 forks source link

No module named 'bleu_scorer' for image captioning #13

Open NNaqvi opened 5 years ago

NNaqvi commented 5 years ago

Traceback (most recent call last): File "train.py", line 9, in from utils import coco_eval, to_var File "/data/DATA_DIR/utils.py", line 12, in from coco.pycocoevalcap.eval import COCOEvalCap File "/data/DATA_DIR/coco/pycocoevalcap/eval.py", line 3, in from .bleu.bleu import Bleu File "/data/DATA_DIR/coco/pycocoevalcap/bleu/bleu.py", line 11, in from bleu_scorer import BleuScorer ModuleNotFoundError: No module named 'bleu_scorer'