Fix updated validation_batch_size fallback

pull/821/head
Ross Wightman 3 years ago
parent 5db057dca0
commit 0639d9a591

@ -539,7 +539,7 @@ def main():
loader_eval = create_loader(
dataset_eval,
input_size=data_config['input_size'],
batch_size=args.validation_batch_size,
batch_size=args.validation_batch_size or args.batch_size,
is_training=False,
use_prefetcher=args.prefetcher,
interpolation=data_config['interpolation'],

Loading…
Cancel
Save