Skip to content

Commit

Permalink
Minor changes to set the training mean image
Browse files Browse the repository at this point in the history
  • Loading branch information
beareme committed May 24, 2018
1 parent a289b72 commit f9da9f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions keras_wrapper/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -3037,7 +3037,7 @@ def preprocessImages(self, path_list, id, set_name, img_size, img_size_crop, use

return data

def setTrainMean(self, mean_image, id, use_RGB=True, normalization=False):
def setTrainMean(self, mean_image, id, normalization=False):
"""
Loads a pre-calculated training mean image, 'mean_image' can either be:
Expand All @@ -3046,7 +3046,6 @@ def setTrainMean(self, mean_image, id, use_RGB=True, normalization=False):
- string with the path to the stored image.
:param mean_image:
:param user_RGB: set to False for grayscale images
:param normalization:
:param id: identifier of the type of input whose train mean is being introduced.
"""
Expand Down

0 comments on commit f9da9f8

Please sign in to comment.