-
Notifications
You must be signed in to change notification settings - Fork 304
Description
hi!
I got stuck in Chapter 19. Deployment with TensorFlow Serving starting TensorFlow Serving from docker image.
When i pass docker run -t --rm -p 8501:8501 -v "$TESTDATA/saved_model_half_plus_two_cpu:/models/half_plus_two" -e MODEL_NAME=half_plus_two tensorflow/serving &
I got error:
$ /usr/bin/tf_serving_entrypoint.sh: line 3: 6 Illegal instruction (core dumped) tensorflow_model_server --port=8500 --rest_api_port=8501 --model_name=$ {MODEL_NAME} --model_base_path=${MODEL_BASE_PATH}/${MODEL_NAME} "$@"
And curl command doesnt work -
curl -d '{"instances": [1.0, 2.0, 5.0]}' -X POST http://localhost:8501/v1/models/half_plus_two:predict
error:
D:\Users\al>curl -d '{"instances": [1.0, 2.0, 5.0]}' -X POST http://localhost:85 01/v1/models/half_plus_two:predict curl: (3) bad range in URL position 2: [1.0, ^
I`m on Windows 7.