justin-shopcapsule commited on
Commit
c389bee
1 Parent(s): 07a9231

Update handler.py

Browse files

remove image stretching for now in resizing

Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -663,7 +663,7 @@ class EndpointHandler():
663
  input_images.append(image)
664
 
665
  for i in range(len(input_images)):
666
- input_images[i] = input_images[i].resize((194, 250))
667
 
668
  numpy_images = [np.array(img) for img in input_images]
669
  output_images = self.model.predict(numpy_images)
 
663
  input_images.append(image)
664
 
665
  for i in range(len(input_images)):
666
+ input_images[i] = input_images[i].resize((224, 224))
667
 
668
  numpy_images = [np.array(img) for img in input_images]
669
  output_images = self.model.predict(numpy_images)