ruotianluo / DiscCaptioning

Code for Discriminability objective for training descriptive captions(CVPR 2018)
110 stars 21 forks source link

f30k-caption? #21

Open tonghaiping1996 opened 4 years ago

tonghaiping1996 commented 4 years ago

hello,where can I download the f30k-caption in your annFile = 'f30k-caption/annotations/dataset_flickr30k.json'?when I use the flickr30,the eval code takes wrong.Is there the eval code for flickr30?

ruotianluo commented 4 years ago

You have to generate using prepro reference Json. Py in scripts.

tonghaiping1996 commented 4 years ago

thank you for your reply~ yes,i run the "python scripts/prepro_labels.py..." "python scripts/prepro_ngrams.py"on dataset_flickr30k.json,but when run the eval.py it takes wrong. Whether the coco-caption can use directly to eval on flickr dataset?

ruotianluo commented 4 years ago

It is using coco caption directly. It allows different dataset by using different reference json

tonghaiping1996 commented 4 years ago

thanks a lot~