Skip to content

Commit

Permalink
Fixed default settings of CIFAR-10 interface in get_data_generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Callidior committed Jan 31, 2019
1 parent f3c0ab7 commit be4d4bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def get_data_generator(dataset, data_root, classes = None):

if dataset == 'cifar-10':

return CifarGenerator(data_root, classes, reenumerate = True, cifar10 = True, randzoom_range = 0.25)
return CifarGenerator(data_root, classes, reenumerate = True, cifar10 = True,
train_generator_kwargs = { 'horizontal_flip' : True, 'width_shift_range' : 0.15, 'height_shift_range' : 0.15, 'zoom_range' : 0.25 })

elif dataset == 'cifar-100':

Expand Down

0 comments on commit be4d4bb

Please sign in to comment.