close icon indicating copy to clipboard operation
close copied to clipboard

CaptioningExample miss get_example_id function

Open Flaick opened this issue 6 months ago • 0 comments

Hello, when I run the training with mscoco caption, I found the error during the evaluation, because of the missing get_example_id in CaptioningExample under data/coco_captioning.py

    def get_example_id(self):              
      return self.example_id          

I update the code in this way, now it works for me, is that correct?

Flaick avatar Dec 19 '23 00:12 Flaick