mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-11 05:20:49 +08:00
fix(rapidocr): merged PR #494
This commit is contained in:
1 parent
7df9a9807e
commit
0285909f03
1 file changed
+1
-1
@@ -60,7 +60,7 @@ class OrtInferSession(InferSession):
|
||||
|
||||
provider_cfg = ProviderConfig(engine_cfg=cfg.engine_cfg)
|
||||
self.session = InferenceSession(
|
||||
model_path,
|
||||
str(model_path),
|
||||
sess_options=sess_opt,
|
||||
providers=provider_cfg.get_ep_list(),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user