From f5df53c42897140526b5a0412cf82e161c919c2a Mon Sep 17 00:00:00 2001 From: Jiawei Wang Date: Wed, 10 Nov 2021 20:34:07 +0800 Subject: [PATCH] Update config.yml --- python/examples/pipeline/ocr/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/examples/pipeline/ocr/config.yml b/python/examples/pipeline/ocr/config.yml index 18b960b0..dca67737 100644 --- a/python/examples/pipeline/ocr/config.yml +++ b/python/examples/pipeline/ocr/config.yml @@ -40,7 +40,7 @@ op: fetch_list: ["concat_1.tmp_0"] #计算硬件ID,当devices为""或不写时为CPU预测;当devices为"0", "0,1,2"时为GPU预测,表示使用的GPU卡 - devices: "" + devices: "0" #use_mkldnn #use_mkldnn: True @@ -75,7 +75,7 @@ op: device_type: 1 #计算硬件ID,当devices为""或不写时为CPU预测;当devices为"0", "0,1,2"时为GPU预测,表示使用的GPU卡 - devices: "" + devices: "0" #use_mkldnn #use_mkldnn: True -- GitLab