Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The number of COCO validation images #44

Closed
KevinLight831 opened this issue Sep 22, 2021 · 1 comment
Closed

The number of COCO validation images #44

KevinLight831 opened this issue Sep 22, 2021 · 1 comment

Comments

@KevinLight831
Copy link

In the COCO dataset, the number of validation images is 1000, but I found many papers claimed the number is 5000.

@fartashf
Copy link
Owner

There are 5000 test images as well as more than 5000 validation images in the original split of MSCOCO. Please see Section 3.1 of the paper for the details and references (https://arxiv.org/pdf/1707.05612.pdf) and the corresponding lines in the code:

vsepp/data.py

Lines 51 to 59 in 7f8ffd5

ids['train'] = np.load(os.path.join(capdir, 'coco_train_ids.npy'))
ids['val'] = np.load(os.path.join(capdir, 'coco_dev_ids.npy'))[:5000]
ids['test'] = np.load(os.path.join(capdir, 'coco_test_ids.npy'))
ids['trainrestval'] = (
ids['train'],
np.load(os.path.join(capdir, 'coco_restval_ids.npy')))
if use_restval:
roots['train'] = roots['trainrestval']
ids['train'] = ids['trainrestval']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants