tobegit3hub / simple_tensorflow_serving

Generic and easy-to-use serving service for machine learning models
https://stfs.readthedocs.io
Apache License 2.0
757 stars 195 forks source link

how can I shutdown the model which I don't want to use? #66

Open wzl789139 opened 5 years ago

wzl789139 commented 5 years ago

I use sample_tensorflow_serving by docker.But the default models all open as default.They occupy too many resource.I want to shutdown them ,But I couldn't find the way in the document.

tobegit3hub commented 5 years ago

Hi @wzl789139 , the example docker image will load all the models in the container as demo. You can remove the model files or specify the model to load when start the server.

wzl789139 commented 5 years ago

@tobegit3hub Are you a Chinese? Thanks for your excellent work and help. I got it finally. My poor English can not describe this problem clearly. The key was that I must restart the docker container to restart(reload) the service and model.