mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-09-09 11:14:32 +08:00
removing debug code
This commit is contained in:
@@ -101,8 +101,6 @@ def image_preprocess(image):
|
|||||||
image = np.dstack((image,image,image))
|
image = np.dstack((image,image,image))
|
||||||
if len(image.shape) == 4:
|
if len(image.shape) == 4:
|
||||||
image = image[:,:,:3]
|
image = image[:,:,:3]
|
||||||
print image
|
|
||||||
print image.dtype,image.min(),image.max()
|
|
||||||
image = resize(image,(64,64))
|
image = resize(image,(64,64))
|
||||||
image = image.tolist()
|
image = image.tolist()
|
||||||
return image
|
return image
|
||||||
Reference in New Issue
Block a user