Skip to content

Commit 6526ccb

Browse files
set precision=3 in results
1 parent 856f618 commit 6526ccb

File tree

5 files changed

+691
-692
lines changed

5 files changed

+691
-692
lines changed

results/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ An ImageNet test set of 10,000 images sampled from new images roughly 10 years a
3535
A collection of 7500 images covering 200 of the 1000 ImageNet classes. Images are naturally occuring adversarial examples that confuse typical ImageNet classifiers. This is a challenging dataset, your typical ResNet-50 will score 0% top-1.
3636

3737
## TODO
38-
* Add rank difference, and top-1/top-5 difference from ImageNet-1k validation for the 3 additional test sets
3938
* Explore adding a reduced version of ImageNet-C (Corruptions) and ImageNet-P (Perturbations) from https://github.com/hendrycks/robustness. The originals are huge and image size specific.

results/generate_csv_results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def diff(csv_file):
4444
results[csv_file]['top1_diff'] = top1_diff
4545
results[csv_file]['top5_diff'] = top5_diff
4646

47-
results[csv_file].to_csv(csv_file, index=False, float_format='%.4f')
47+
results[csv_file].to_csv(csv_file, index=False, float_format='%.3f')
4848

4949
for csv_file in results:
5050
if csv_file != 'results-imagenet.csv': diff(csv_file)

0 commit comments

Comments
 (0)