deep-learning-containers icon indicating copy to clipboard operation
deep-learning-containers copied to clipboard

where to specify the model_base_path for TensorFlow Serving

Open Ageneinair opened this issue 6 years ago • 3 comments

From the dockerfile for creating the TensorFlow Serving, it seems this line just makes a folder, but no model in there. Where do we specify the model path here?

Ageneinair avatar Jun 23 '20 08:06 Ageneinair

Hi, thanks for your interest. Please check the AWS documentation for using the inference container to serve a model: https://docs.aws.amazon.com/deep-learning-containers/latest/devguide/deep-learning-containers-ec2-tutorials-inference.html#deep-learning-containers-ec2-tutorials-inference-tf2.

More tutorials on platforms such as AWS EC2, ECS and EKS are available here: https://docs.aws.amazon.com/deep-learning-containers/latest/devguide/getting-started.html

nikhil-sk avatar Jun 23 '20 19:06 nikhil-sk

From my understanding of this documentation, it downloading the model (from git clone the TensorFlow repo) in the image. But how we update the model after we deploy the whole image on ECS?

Ageneinair avatar Jun 24 '20 06:06 Ageneinair

Hi Ageneinair@, in case of updating running an updated model on ECS, you can check out ECS features such as CRON-based task scheduling: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduled_tasks.html, or the update-task api: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-task-definition.html. Please checkout ECS documentation for diving deep into your ECS-based use-case: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html

nikhil-sk avatar Jun 29 '20 17:06 nikhil-sk