Incorrect indexing in the README example
mannatsingh opened this issue · comments
Mannat Singh commented
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.
Lucas Beyer commented
Thanks for letting us know and sorry for the delay. Fixed in #1