google-research / reassessed-imagenet

Labels and other data for the paper "Are we done with ImageNet?"

Home Page:https://arxiv.org/abs/2006.07159

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect indexing in the README example

mannatsingh opened this issue · comments

In the README, real_labels = {f'ILSVRC2012_val_{i:08d}.JPEG': labels for i, labels in enumerate(json.load('real.json'))} should be changed to real_labels = {f'ILSVRC2012_val_{i + 1:08d}.JPEG': labels for i, labels in enumerate(json.load('real.json'))} since the numbering starts from 1 and not 0.

Thanks for letting us know and sorry for the delay. Fixed in #1