We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f44213 commit 9b9824cCopy full SHA for 9b9824c
imagenet.py
@@ -482,11 +482,11 @@ def main():
482
'{:.2f}'
483
.format((epoch + 1), train_loss_ema, test_loss, 100. * test_acc1))
484
485
- corruption_accs = test_c(net, test_transform)
486
- for c in CORRUPTIONS:
487
- print('\t'.join(map(str, [c] + corruption_accs[c])))
+ corruption_accs = test_c(net, test_transform)
+ for c in CORRUPTIONS:
+ print('\t'.join(map(str, [c] + corruption_accs[c])))
488
489
- print('mCE (normalized by AlexNet):', compute_mce(corruption_accs))
+ print('mCE (normalized by AlexNet):', compute_mce(corruption_accs))
490
491
492
if __name__ == '__main__':
0 commit comments