fix a function parameter typo(cropt_pct -> crop_pct)

pull/1270/head
Yonghye Kwon 3 years ago committed by GitHub
parent fd360ac951
commit 57f8361a01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -271,7 +271,7 @@ def validate(args):
top5=round(top5a, 4), top5_err=round(100 - top5a, 4), top5=round(top5a, 4), top5_err=round(100 - top5a, 4),
param_count=round(param_count / 1e6, 2), param_count=round(param_count / 1e6, 2),
img_size=data_config['input_size'][-1], img_size=data_config['input_size'][-1],
cropt_pct=crop_pct, crop_pct=crop_pct,
interpolation=data_config['interpolation']) interpolation=data_config['interpolation'])
_logger.info(' * Acc@1 {:.3f} ({:.3f}) Acc@5 {:.3f} ({:.3f})'.format( _logger.info(' * Acc@1 {:.3f} ({:.3f}) Acc@5 {:.3f} ({:.3f})'.format(

Loading…
Cancel
Save