config.yml 453 字节
Newer Older
B
barriery 已提交
1
rpc_port: 18080
B
barriery 已提交
2 3
worker_num: 4
build_dag_each_worker: false
B
barriery 已提交
4
http_port: 9999
B
barriery 已提交
5 6 7 8 9
dag:
    is_thread_op: false
    client_type: brpc
    retry: 1
    use_profile: false
B
barriery 已提交
10 11 12 13 14 15 16 17 18 19 20 21 22
op:
    det:
        concurrency: 2
        local_service_conf:
            model_config: ocr_det_model
            devices: "0"
    rec:
        concurrency: 1
        timeout: -1
        retry: 1
        local_service_conf:
            model_config: ocr_rec_model
            devices: "0"