mPLUG icon indicating copy to clipboard operation
mPLUG copied to clipboard

version of language evaluation you used.

Open naajeehxe opened this issue 1 year ago • 0 comments

Thank you for your wonderful project,

I'm trying to implement cider optimization on Mplug-2, (reference) but I am keep getting an error that "CocoEvaluator is not found in language_evaluation". Can you tell me the version of language_evaluation you used?

Thank you so much, Sincerely

Traceback (most recent call last):
  File "/mPLUG-2/video_caption_mplug2_cider_opt.py", line 498, in <module>
    main(args, config)
  File "/mPLUG-2/video_caption_mplug2_cider_opt.py", line 365, in main
    result = cal_metric(result_file)
  File "/mPLUG-2/video_caption_mplug2_cider_opt.py", line 248, in cal_metric
    evaluator = evaluation_tools.CocoEvaluator(verbose=False) 
AttributeError: module 'language_evaluation.coco_caption_py3.pycocoevalcap' has no attribute 'CocoEvaluator'

naajeehxe avatar Nov 05 '24 05:11 naajeehxe