Initial test coverage for new configuration system

This commit is contained in:
Anne Carlson authored and Madison May committed 2015-02-27 16:32:56 -05:00
1 parent 6b9251f4f5
commit dc47fe5b0a
7 files changed
+192 -112

No files matched your search

+2 -2
View File
@@ -120,7 +120,7 @@ def normalize(array, distribution=1, norm_range=(0, 1), **kwargs):
def image_preprocess(image, batch=False):
"""
Takes an image and prepares it for sending to the api including
Takes an image and prepares it for sending to the api including
resizing and image data/structure standardizing.
"""
if batch:
@@ -137,4 +137,4 @@ def image_preprocess(image, batch=False):
image = image[:,:,:3]
image = resize(image,(64,64))
image = image.tolist()
return image
return image