Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alanOO7 opened this issue Jun 19, 2024 · 1 comment
Assignees

Comments

@alanOO7
Copy link

alanOO7 commented Jun 19, 2024

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'

Copy link

Message that will be displayed on users' first issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants