登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
Gitee 年度开源项目评选中~
代码拉取完成,页面将自动刷新
开源项目
>
人工智能
>
计算机视觉/人脸识别
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
5
Star
35
Fork
15
MindSpore Lab
/
mindocr
代码
Issues
17
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
在910b上,使用pp-ocr v4进行推理报错
待办的
#I9V7V2
暴力兔
创建于
2024-06-05 15:32
镜像环境,使用的启智平台的 mindtorch0.3_mindspore2.3.0_torchnpu2.2.0_cann8.0 npu-smi info +------------------------------------------------------------------------------------------------+ | npu-smi 23.0.rc2.2 Version: 23.0.0 | +---------------------------+---------------+----------------------------------------------------+ | NPU Name | Health | Power(W) Temp(C) Hugepages-Usage(page)| | Chip | Bus-Id | AICore(%) Memory-Usage(MB) HBM-Usage(MB) | +===========================+===============+====================================================+ | 2 910B | OK | 65.3 22 0 / 0 | | 0 | 0000:41:00.0 | 0 2656 / 15665 30712/ 32768 | +===========================+===============+====================================================+ +---------------------------+---------------+----------------------------------------------------+ | NPU Chip | Process id | Process name | Process memory(MB) | +===========================+===============+====================================================+ | No running processes found in NPU 2 | +===========================+===============+====================================================+ 升级了mindspore和mindspore-lite都到了2.3.0rc2 (MindSpore) [root@j55f68933650432bad20f8d74eb44c0f-task0-0 mindocr]# python deploy/py_infer/infer.py --input_images_dir=deploy/py_infer/example/dataset/cls_rec/ --det_model_path=tools/ppocr_models/ch_PP-OCRv4_det_db_dynamic_output.mindir --det_model_name_or_config=ch_pp_det_OCRv4 --cls_model_path=tools/ppocr_models/ch_PP-OCRv4_cls_mv4_dynamic_output.mindir --cls_model_name_or_config=ch_pp_mobile_cls_v2.0 --rec_model_path=tools/ppocr_models/ch_PP-OCRv4_rec_crnn_dynamic_output.mindir --rec_model_name_or_config=ch_pp_rec_OCRv4 --character_dict_path=tools/ppocr_models/ppocr_keys_v1.txt --res_save_dir=result [ERROR] MINDOCR(42836:281473356976176,Process-1:28):2024-06-01-15:07:17.703.233 [src/parallel/framework/module_base.py:40] DetPreNode init failed: daemonic processes are not allowed to have children Process Process-1:28: [ERROR] MINDOCR(42881:281473356976176,Process-1:29):2024-06-01-15:07:17.732.107 [src/parallel/framework/module_base.py:40] DetInferNode init failed: daemonic processes are not allowed to have children Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/detection/det_pre_node.py", line 13, in init_self_args self.text_detector.init(preprocess=True, model=False, postprocess=False) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_det.py", line 18, in _init_model self.model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children Process Process-1:29: Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/detection/det_infer_node.py", line 12, in init_self_args self.text_detector.init(preprocess=False, model=True, postprocess=False) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_det.py", line 18, in _init_model self.model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children [ERROR] MINDOCR(42937:281473356976176,Process-1:31):2024-06-01-15:07:17.776.636 [src/parallel/framework/module_base.py:40] ClsPreNode init failed: daemonic processes are not allowed to have children Process Process-1:31: Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/classification/cls_pre_node.py", line 16, in init_self_args self.text_classifier.init(preprocess=True, model=False, postprocess=False) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_cls.py", line 18, in _init_model self.model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children [ERROR] MINDOCR(42973:281473356976176,Process-1:32):2024-06-01-15:07:17.818.559 [src/parallel/framework/module_base.py:40] ClsInferNode init failed: daemonic processes are not allowed to have children Process Process-1:32: Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/classification/cls_infer_node.py", line 17, in init_self_args self.text_classifier.init(preprocess=False, model=True, postprocess=True) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_cls.py", line 18, in _init_model self.model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children [ERROR] MINDOCR(43008:281473356976176,Process-1:33):2024-06-01-15:07:17.859.318 [src/parallel/framework/module_base.py:40] RecPreNode init failed: daemonic processes are not allowed to have children [ERROR] MINDOCR(43036:281473356976176,Process-1:34):2024-06-01-15:07:17.887.724 [src/parallel/framework/module_base.py:40] RecInferNode init failed: daemonic processes are not allowed to have children Process Process-1:33: Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/recognition/rec_pre_node.py", line 16, in init_self_args self.text_recognizer.init(preprocess=True, model=False, postprocess=False) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_rec.py", line 61, in _init_model self.__load_model(model_path) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_rec.py", line 17, in __load_model model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children Process Process-1:34: Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/recognition/rec_infer_node.py", line 12, in init_self_args self.text_recognizer.init(preprocess=False, model=True, postprocess=False) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_rec.py", line 61, in _init_model self.__load_model(model_path) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_rec.py", line 17, in __load_model model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children
镜像环境,使用的启智平台的 mindtorch0.3_mindspore2.3.0_torchnpu2.2.0_cann8.0 npu-smi info +------------------------------------------------------------------------------------------------+ | npu-smi 23.0.rc2.2 Version: 23.0.0 | +---------------------------+---------------+----------------------------------------------------+ | NPU Name | Health | Power(W) Temp(C) Hugepages-Usage(page)| | Chip | Bus-Id | AICore(%) Memory-Usage(MB) HBM-Usage(MB) | +===========================+===============+====================================================+ | 2 910B | OK | 65.3 22 0 / 0 | | 0 | 0000:41:00.0 | 0 2656 / 15665 30712/ 32768 | +===========================+===============+====================================================+ +---------------------------+---------------+----------------------------------------------------+ | NPU Chip | Process id | Process name | Process memory(MB) | +===========================+===============+====================================================+ | No running processes found in NPU 2 | +===========================+===============+====================================================+ 升级了mindspore和mindspore-lite都到了2.3.0rc2 (MindSpore) [root@j55f68933650432bad20f8d74eb44c0f-task0-0 mindocr]# python deploy/py_infer/infer.py --input_images_dir=deploy/py_infer/example/dataset/cls_rec/ --det_model_path=tools/ppocr_models/ch_PP-OCRv4_det_db_dynamic_output.mindir --det_model_name_or_config=ch_pp_det_OCRv4 --cls_model_path=tools/ppocr_models/ch_PP-OCRv4_cls_mv4_dynamic_output.mindir --cls_model_name_or_config=ch_pp_mobile_cls_v2.0 --rec_model_path=tools/ppocr_models/ch_PP-OCRv4_rec_crnn_dynamic_output.mindir --rec_model_name_or_config=ch_pp_rec_OCRv4 --character_dict_path=tools/ppocr_models/ppocr_keys_v1.txt --res_save_dir=result [ERROR] MINDOCR(42836:281473356976176,Process-1:28):2024-06-01-15:07:17.703.233 [src/parallel/framework/module_base.py:40] DetPreNode init failed: daemonic processes are not allowed to have children Process Process-1:28: [ERROR] MINDOCR(42881:281473356976176,Process-1:29):2024-06-01-15:07:17.732.107 [src/parallel/framework/module_base.py:40] DetInferNode init failed: daemonic processes are not allowed to have children Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/detection/det_pre_node.py", line 13, in init_self_args self.text_detector.init(preprocess=True, model=False, postprocess=False) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_det.py", line 18, in _init_model self.model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children Process Process-1:29: Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/detection/det_infer_node.py", line 12, in init_self_args self.text_detector.init(preprocess=False, model=True, postprocess=False) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_det.py", line 18, in _init_model self.model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children [ERROR] MINDOCR(42937:281473356976176,Process-1:31):2024-06-01-15:07:17.776.636 [src/parallel/framework/module_base.py:40] ClsPreNode init failed: daemonic processes are not allowed to have children Process Process-1:31: Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/classification/cls_pre_node.py", line 16, in init_self_args self.text_classifier.init(preprocess=True, model=False, postprocess=False) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_cls.py", line 18, in _init_model self.model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children [ERROR] MINDOCR(42973:281473356976176,Process-1:32):2024-06-01-15:07:17.818.559 [src/parallel/framework/module_base.py:40] ClsInferNode init failed: daemonic processes are not allowed to have children Process Process-1:32: Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/classification/cls_infer_node.py", line 17, in init_self_args self.text_classifier.init(preprocess=False, model=True, postprocess=True) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_cls.py", line 18, in _init_model self.model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children [ERROR] MINDOCR(43008:281473356976176,Process-1:33):2024-06-01-15:07:17.859.318 [src/parallel/framework/module_base.py:40] RecPreNode init failed: daemonic processes are not allowed to have children [ERROR] MINDOCR(43036:281473356976176,Process-1:34):2024-06-01-15:07:17.887.724 [src/parallel/framework/module_base.py:40] RecInferNode init failed: daemonic processes are not allowed to have children Process Process-1:33: Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/recognition/rec_pre_node.py", line 16, in init_self_args self.text_recognizer.init(preprocess=True, model=False, postprocess=False) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_rec.py", line 61, in _init_model self.__load_model(model_path) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_rec.py", line 17, in __load_model model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children Process Process-1:34: Traceback (most recent call last): File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 41, in process_handler raise error File "/tmp/code/mindocr/deploy/py_infer/src/parallel/framework/module_base.py", line 36, in process_handler params = self.init_self_args() File "/tmp/code/mindocr/deploy/py_infer/src/parallel/module/recognition/rec_infer_node.py", line 12, in init_self_args self.text_recognizer.init(preprocess=False, model=True, postprocess=False) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_base.py", line 29, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_rec.py", line 61, in _init_model self.__load_model(model_path) File "/tmp/code/mindocr/deploy/py_infer/src/infer/infer_rec.py", line 17, in __load_model model = Model( File "/tmp/code/mindocr/deploy/py_infer/src/core/model/model.py", line 15, in init self.model = _INFER_BACKEND_MAPbackend File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 16, in init super().init(model_path, device, device_id) File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/model_base.py", line 28, in init self._init_model() File "/tmp/code/mindocr/deploy/py_infer/src/core/model/backend/lite_model.py", line 23, in _init_model context.target = [self.device.lower()] File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/context.py", line 272, in target ascend_checker.check_env() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 77, in check_env return self.check_cann_version() and self.check_lib_path() and self.check_python_deps() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/site-packages/mindspore_lite/_check_ascend.py", line 193, in check_python_deps p.start() File "/home/ma-user/anaconda3/envs/MindSpore/lib/python3.9/multiprocessing/process.py", line 118, in start assert not _current_process._config.get('daemon'), AssertionError: daemonic processes are not allowed to have children
评论 (
0
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (10)
标签 (6)
main
gh-pages
v0.5.0
v0.4.0
v0.3.1
v0.3.2
mint_dev
ocr-lm
overfit
v0.1.1
v0.5.0
v0.3.1
v0.3.0
v0.2.0
v0.1.1
v0.1.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
1
https://gitee.com/mindspore-lab/mindocr.git
git@gitee.com:mindspore-lab/mindocr.git
mindspore-lab
mindocr
mindocr
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册