python 2.7
https://www.tensorflow.org/serving/setup
python deploy/export_model.py [case] [path]
- Ex)
python deploy/export_model.py voxceleb_large_4s /data/private/voice-vector/saved_model/
- Ex)
nohup tensorflow_model_server --port=1027 --model_name=voice_vector --model_base_path=/data/private/voice-vector/saved_model/ &
python 3.5
sudo apt-get install ffmpeg
pip install tensorflow-serving-api-python3
refer to https://blog.miguelgrinberg.com/post/running-your-flask-application-over-https
python run.py