Skip to content

athiramd/tf_serving_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Experiments

#Train and serve a Fashion model with TensorFlow Serving

  • Create virtual enviornment

virtualenv venv --python=python3

  • Activate virtualenviornment

source venv/bin/activate

  • Install Requirements

pip install -r requirements.txt

  • Run:

python tf_serving.py

  • To test:

    • Open another terminal

      • Activate enviornment

      • nohup tensorflow_model_server --rest_api_port=8501 --model_name=fashion_model --model_base_path="full path to pb folder" >server.log 2>&1

      • Check server log status is success

    • If Server log status is success

    python tf_serving.py -in predict mode in another terminal

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages