Created by: guru4elephant
if a user defines --name when calling paddle_serving_server_gpu.serve or paddle_serving_server.serve, it means the user is starting a web service. Otherwise, it is a rpc service.
web service
ython -m paddle_serving_server_gpu.serve --model conf_and_model/serving_server_model/ --port 9295 --thread 4 --gpu_ids 0,1,2,3 --name image
rpc service
ython -m paddle_serving_server_gpu.serve --model conf_and_model/serving_server_model/ --port 9295 --thread 4 --gpu_ids 0,1,2,3