(简体中文|English)
python3 -m paddle_serving_app.package --get_model lac
tar -xzvf lac.tar.gz
python3 -m paddle_serving_server.serve --model lac_model/ --port 9292
echo "我爱北京天安门" | python3 lac_client.py lac_client/serving_client_conf.prototxt
It will get the segmentation result.
echo "我爱北京天安门" | python3 lac_http_client.py lac_client/serving_client_conf.prototxt