Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
soumendukrg committed Nov 14, 2019
1 parent 8b94115 commit 6b09bc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion distiller/apputils/data_loaders.py
Expand Up @@ -71,7 +71,7 @@ def load_data(dataset, data_dir, batch_size, workers, validation_split=0.1, dete
Args:
dataset: a string with the name of the dataset to load (cifar10/imagenet)
data_dir: the directory where the datset resides
data_dir: the directory where the dataset resides
batch_size: the batch size
workers: the number of worker threads to use for loading the data
validation_split: portion of training dataset to set aside for validation
Expand Down
2 changes: 1 addition & 1 deletion distiller/apputils/image_classifier.py
Expand Up @@ -471,7 +471,7 @@ def save_collectors_data(collectors, directory):

def load_data(args, fixed_subset=False, sequential=False, load_train=True, load_val=True, load_test=True):
# create flag to indicate if model is inception to use proper image size
if args.arch in ['inception_v3, inceptionv3, inceptionv4', 'inceptionresnetv2']:
if args.arch in ['inception_v3', 'inceptionv3', 'inceptionv4', 'inceptionresnetv2']:
is_inception = True
else:
is_inception = False
Expand Down

0 comments on commit 6b09bc4

Please sign in to comment.