ruotianluo / ImageCaptioning.pytorch

I decide to sync up this repo and self-critical.pytorch. (The old master is in old master branch for archive)
MIT License
1.43k stars 409 forks source link

cocotest数据集上传到官网测试方法请教 #167

Open fjq-tongji opened 1 year ago

fjq-tongji commented 1 year ago

您好,想请教一下如何将cocotest的结果上传到官网进行测试呢

ruotianluo commented 1 year ago

readme evaluate on coco test set

fjq-tongji commented 1 year ago

readme evaluate on coco test set

非常感谢您的回复,这个代码我运行之后可以得到captions_test2014_results.json文件,但是官网服务器还需要上传一个captions_val2014_results.json,想请问一下这个文件需要的val.json, val_att和val_fc应该如何得到呢

ruotianluo commented 1 year ago

哦哦哦,你在整个coco上run一遍eval,然后把json合并起来就可以了。。。

fjq-tongji commented 1 year ago

好的我先试下,非常感谢!

fjq-tongji commented 1 year ago

这是我在coco2014eval生成的json文件,可直接上传COCO test server captions_val2014_method_results.zip

fjq-tongji commented 1 year ago

您好,我最近发现cocotest_bu_att和cocotest_bu_fc里面的数据量是不是不太对呀,这里面各有81434个文件,但coco2014测试集只有40775张图像,请问这是怎么回事呀?

yeeeeee0 commented 11 months ago

你好,我想问一下在evaluate on coco test 你有碰到IndexError: list index out of range的问题吗,这个问题大概是分图片的时候train和val的数量为0导致的

sunmoxian commented 9 months ago

你好,我想问一下在evaluate on coco test 你有碰到IndexError: list index out of range的问题吗,这个问题大概是分图片的时候train和val的数量为0导致的

我也遇到了相同的问题,请问你解决了吗?