-
Notifications
You must be signed in to change notification settings - Fork 223
Description
It seems that can not reshape the custom image. But in VGG16 has not error.
[2017-11-30 18:08:12,769] ERROR in app: Exception on /layer/batch_normalization_90/individualImage (2).png [GET] Traceback (most recent call last): File "/home/microfat/.local/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "/home/microfat/.local/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/microfat/.local/lib/python3.6/site-packages/flask_cors/extension.py", line 161, in wrapped_function return cors_after_request(app.make_response(f(*args, **kwargs))) File "/home/microfat/.local/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/microfat/.local/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise raise value File "/home/microfat/.local/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/home/microfat/.local/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/microfat/.local/lib/python3.6/site-packages/quiver_engine/server.py", line 98, in get_layer_outputs mean=mean, std=std File "/home/microfat/.local/lib/python3.6/site-packages/quiver_engine/util.py", line 83, in load_img grayscale=grayscale) File "/home/microfat/.local/lib/python3.6/site-packages/keras/preprocessing/image.py", line 364, in load_img img = img.resize(width_height_tuple, resample) File "/home/microfat/.local/lib/python3.6/site-packages/PIL/Image.py", line 1745, in resize return self._new(self.im.resize(size, resample, box)) TypeError: an integer is required (got type NoneType)