The application works fine on my local linux server but I have trouble of running it on Azure. I checked the Files folder and all python libraries are installed correctly under /antenv2.7/lib/python2.7/site-packages. Here is my pip requirements file: But when gunicorn starts, it generates this error. I don’t know why protobuf can’t be imported while other libraries like Keras can
Tag: keras
Wrapping python+keras+tensorflow ‘as a service’ to receive prediction requests from PHP?
I run a python script in order to load keras, tensorflow and the keras model. Then I can start making predictions, but this takes a few seconds to load everything. I can loop inside the python script and get good performance predicting in batches, but I want to have also good performance with via independent prediction requests from PHP. Anyone