You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello , please when i run python app.py , the model can't predict and i get this error :
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "app.py", line 51, in predict
x = imread('output.png', mode='L')
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/scipy/misc/pilutil.py", line 155, in imread
return fromimage(im, flatten=flatten, mode=mode)
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/scipy/misc/pilutil.py", line 230, in fromimage
im = im.convert(mode)
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/PIL/Image.py", line 829, in convert
self.load()
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/PIL/ImageFile.py", line 200, in load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/PIL/Image.py", line 415, in _getdecoder
raise IOError("decoder %s not available" % decoder_name)
OSError: decoder zip not available
41.231.56.90 - - [04/Jul/2018 12:42:57] "POST /predict/ HTTP/1.1" 500 -
Any helps please . Thanks
The text was updated successfully, but these errors were encountered:
Hello , please when i run python app.py , the model can't predict and i get this error :
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "app.py", line 51, in predict
x = imread('output.png', mode='L')
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/scipy/misc/pilutil.py", line 155, in imread
return fromimage(im, flatten=flatten, mode=mode)
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/scipy/misc/pilutil.py", line 230, in fromimage
im = im.convert(mode)
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/PIL/Image.py", line 829, in convert
self.load()
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/PIL/ImageFile.py", line 200, in load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "/home/ubuntu/kerasenv/lib/python3.6/site-packages/PIL/Image.py", line 415, in _getdecoder
raise IOError("decoder %s not available" % decoder_name)
OSError: decoder zip not available
41.231.56.90 - - [04/Jul/2018 12:42:57] "POST /predict/ HTTP/1.1" 500 -
Any helps please . Thanks
The text was updated successfully, but these errors were encountered: