他的回复:
回复:zhujianpeng 发表于 2021-4-2 16:47 你好,你这个情况是这样的,你在310上转的模型放在hilens studio上运行存在一个问题,hilens studio平台装的cann包和你转模型时的can您好,我分别测试了cann3.2.0和cann3.3.0转换得到的yolov4模型,但是还都是一样无法在hilens studio上运行,3.3.0版本的报错信息如下:2021-04-02 23:18:17,249[2462][ERROR][SFW] Model: Failed to create model graph(hiai status: 0x1013011)Traceback (most recent call last): File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/ptvsd_launcher.py", line 43, in main(ptvsdArgs) File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/old_ptvsd/ptvsd/__main__.py", line 432, in main run() File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/old_ptvsd/ptvsd/__main__.py", line 316, in run_file runpy.run_path(target, run_name='__main__') File "/usr/lib64/python3.7/runpy.py", line 263, in run_path pkg_name=pkg_name, script_name=fname) File "/usr/lib64/python3.7/runpy.py", line 96, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/huser/projects/objectdetection_4/start.py", line 17, in main.main(work_path) File "./src/main/python/main.py", line 19, in main model = hilens.Model(model_path) File "/usr/lib64/python3.7/site-packages/hilens.py", line 117, in __init__ raise CreateError("failed to create Model")hilens.CreateError: 'failed to create Model'3.2.0版本的报错信息如下:Traceback (most recent call last): File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/ptvsd_launcher.py", line 43, in main(ptvsdArgs) File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/old_ptvsd/ptvsd/__main__.py", line 432, in main run() File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/old_ptvsd/ptvsd/__main__.py", line 316, in run_file runpy.run_path(target, run_name='__main__') File "/usr/lib64/python3.7/runpy.py", line 263, in run_path pkg_name=pkg_name, script_name=fname) File "/usr/lib64/python3.7/runpy.py", line 96, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/huser/projects/objectdetection_4/start.py", line 17, in main.main(work_path) File "./src/main/python/main.py", line 19, in main model = hilens.Model(model_path) File "/usr/lib64/python3.7/site-packages/hilens.py", line 117, in __init__ raise CreateError("failed to create Model")hilens.CreateError: 'failed to create Model'