PaddlePaddle / Serving

A flexible, high-performance carrier for machine learning models(『飞桨』服务化部署框架)
Apache License 2.0
901 stars 250 forks source link

TypeError: prepare_pipeline_config() got an unexpected keyword argument 'yml_dict' #1999

Open alanOO7 opened 5 months ago

alanOO7 commented 5 months ago

python3 web_service.py -c config.yml args config: {'rpc_port': 18091, 'http_port': 9998, 'worker_num': 10, 'build_dag_each_worker': False, 'dag': {'is_thread_op': False, 'retry': 10, 'use_profile': True, 'tracer': {'interval_s': 10}}, 'op': {'det': {'concurrency': 8, 'local_service_conf': {'client_type': 'local_predictor', 'model_config': './ppocr_det_v3_serving', 'devices': '0', 'ir_optim': True}}, 'rec': {'concurrency': 4, 'timeout': -1, 'retry': 1, 'local_service_conf': {'client_type': 'local_predictor', 'model_config': './ppocr_rec_v3_serving', 'devices': '0', 'ir_optim': True}}}} Traceback (most recent call last): File "web_service.py", line 177, in uci_service.prepare_pipeline_config(yml_dict=FLAGS.conf_dict) TypeError: prepare_pipeline_config() got an unexpected keyword argument 'yml_dict'

github-actions[bot] commented 5 months ago

Message that will be displayed on users' first issue