Adaptive icon indicating copy to clipboard operation
Adaptive copied to clipboard

bug

Open Haoyanlong opened this issue 7 years ago • 0 comments

@yufengm After one epoch, I want to calculate the METEOR score, but error as follow: computing METEOR score... Traceback (most recent call last): File "train_model.py", line 268, in main(args)
File "train_model.py", line 177, in main method_score = coco_eval(adaptive, args, epoch) File "/home1/haoyanlong/imagecaption/Adaptive_Attention/code/utils.py", line 173, in coco_eval cocoEval.evaluate() File "/home1/haoyanlong/imagecaption/Adaptive_Attention/code/coco/pycocoevalcap/eval.py", line 51, in evaluate score, scores = scorer.compute_score(gts, res) File "/home1/haoyanlong/imagecaption/Adaptive_Attention/code/coco/pycocoevalcap/meteor/meteor.py", line 38, in compute_score stat = self._stat(res[i][0], gts[i]) File "/home1/haoyanlong/imagecaption/Adaptive_Attention/code/coco/pycocoevalcap/meteor/meteor.py", line 56, in _stat self.meteor_p.stdin.write('{}\n'.format(score_line)) IOError: [Errno 32] Broken pipe

Haoyanlong avatar Jan 07 '18 12:01 Haoyanlong