-
Notifications
You must be signed in to change notification settings - Fork 53
TensorFlow Serving with Docker
Amit Kumar edited this page Jul 26, 2019
·
3 revisions
Download the TFS models for NSFW and Facial Expression classifier
wget https://www.dropbox.com/s/8hg4x8junhcmxbd/TFSModels.zip?dl=1 -O TFSModels.zip
docker run -it -p 8500:8500 -p 8501:8501 -v <absolute path to model's parent directory>:/home/ tensorflow/serving:nightly-devel
then in docker shell, run the below command
tensorflow_model_server --port=8500 --rest_api_port=8501 --model_config_file=/home/configs/models.conf
The tree structure of the model's directory
└── fer2013
└── models
└── 1
├── saved_model.pb
└── variables
└── nsfw
└── models
└── 1
├── saved_model.pb
└── variables