Traceback (most recent call last):
File "_pipelines\base.py", line 102, in create_paddlex_pipeline
File "paddlex\inference\pipelines_init.py", line 166, in create_pipeline
pipeline = BasePipeline.get(pipeline_name)(
File "paddlex\utils\deps.py", line 201, in _wrapper
require_extra(extra, obj_name=pipeline_name, alt=alt)
File "paddlex\utils\deps.py", line 194, in require_extra
raise DependencyError(msg)
paddlex.utils.deps.DependencyError: OCR requires additional dependencies. To install them, run pip install "paddlex[ocr]==<PADDLEX_VERSION>" if you’re installing paddlex from an index, or pip install -e "/path/to/PaddleX[ocr]" if you’re installing paddlex locally. Alternatively, you can install paddlex[ocr-core] instead.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "src\myutils\ImageClass.py", line 83, in image_ocr
File "_pipelines\ocr.py", line 163, in init
File "_pipelines\base.py", line 67, in init
File "_pipelines\base.py", line 104, in _create_paddlex_pipeline
RuntimeError: A dependency error occurred during pipeline creation. Please refer to the installation documentation to ensure all required dependencies are installed.
Checklist:
描述问题
复现
-
高性能推理
-
服务化部署
-
您是否完全按照服务化部署文档教程跑通了流程?
-
您在服务化部署中是否有使用高性能推理插件?
-
您使用了哪一种服务化部署方案?
-
如果是多语言调用的问题,请给出调用示例子。
-
端侧部署
-
您使用的模型和数据集是?
-
请提供您出现的报错信息及相关log
环境
-
请提供您使用的PaddlePaddle、PaddleX版本号、Python版本号
-
请提供您使用的操作系统信息,如Linux/Windows/MacOS
-
请问您使用的CUDA/cuDNN的版本号是?
Traceback (most recent call last):
File "_pipelines\base.py", line 102, in create_paddlex_pipeline
File "paddlex\inference\pipelines_init.py", line 166, in create_pipeline
pipeline = BasePipeline.get(pipeline_name)(
File "paddlex\utils\deps.py", line 201, in _wrapper
require_extra(extra, obj_name=pipeline_name, alt=alt)
File "paddlex\utils\deps.py", line 194, in require_extra
raise DependencyError(msg)
paddlex.utils.deps.DependencyError:
OCRrequires additional dependencies. To install them, runpip install "paddlex[ocr]==<PADDLEX_VERSION>"if you’re installingpaddlexfrom an index, orpip install -e "/path/to/PaddleX[ocr]"if you’re installingpaddlexlocally. Alternatively, you can installpaddlex[ocr-core]instead.The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "src\myutils\ImageClass.py", line 83, in image_ocr
File "_pipelines\ocr.py", line 163, in init
File "_pipelines\base.py", line 67, in init
File "_pipelines\base.py", line 104, in _create_paddlex_pipeline
RuntimeError: A dependency error occurred during pipeline creation. Please refer to the installation documentation to ensure all required dependencies are installed.
Checklist:
描述问题
复现
高性能推理
服务化部署
您是否完全按照服务化部署文档教程跑通了流程?
您在服务化部署中是否有使用高性能推理插件?
您使用了哪一种服务化部署方案?
如果是多语言调用的问题,请给出调用示例子。
端侧部署
您是否完全按照端侧部署文档教程跑通了流程?
您使用的端侧设备是?对应的PaddlePaddle版本和PaddleLite版本分别是什么?
您使用的模型和数据集是?
请提供您出现的报错信息及相关log
环境
请提供您使用的PaddlePaddle、PaddleX版本号、Python版本号
请提供您使用的操作系统信息,如Linux/Windows/MacOS
请问您使用的CUDA/cuDNN的版本号是?