curl -H"Content-Type:application/json"-X POST -d'{"feed":[{"words": "i am very sad | 0"}], "fetch":["prediction"]}' http://127.0.0.1:8873/imdb/prediction>${dir}client_log.txt 2>&1
check_result client "cnn_CPU_HTTP server test completed"
head test_data/part-0 | ${py_version} test_http_client.py imdb_cnn_client_conf/serving_client_conf.prototxt imdb.vocab>${dir}client_log.txt 2>&1
check_result client "imdb_CPU_HTTP-proto server test completed"
curl -H"Content-Type:application/json"-X POST -d'{"feed":[{"words": "i am very sad | 0"}], "fetch":["prediction"]}' http://127.0.0.1:8874/imdb/prediction >${dir}client_log.txt 2>&1
check_result client "bow_CPU_HTTP server test completed"
curl -H"Content-Type:application/json"-X POST -d'{"feed":[{"words": "i am very sad | 0"}], "fetch":["prediction"]}' http://127.0.0.1:8875/imdb/prediction >${dir}client_log.txt 2>&1
check_result client "lstm_CPU_HTTP server test completed"