Closed Eric-mingjie closed 2 years ago
this subset of 5k images was mainly introduced to make Linf/L2 robustness evaluation fast. and then, for the sake of consistency, we decided to use the same subset of images for ImageNet-C as well. we thought that 5k images (and times 5 severity levels times 15 corruption types) should be sufficient to get good estimates of accuracy.
best, maksym
Thanks for the quick response. So to use all 50k images, can we just create a file imagenet_test_image_ids
to include all 50k images instead of 5k now?
yes, totally! that should work.
I see that the current
load_imagenetc
function only loads 5k test images, why not load the whole 50k images? https://github.com/RobustBench/robustbench/blob/master/robustbench/data/imagenet_test_image_ids.txt