他的回复:
env 'PTVSD_LAUNCHER_PORT=35833' '/usr/bin/python3' '/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/launcher' '/home/huser/projects/Hello_World_202104211536/start.py'[huser@HiLens-Studio Hello_World_202104211536]$ env 'PTVSD_LAUNCHER_PORT=35833' '/usr/bin/python3' '/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/launcher' '/home/huser/projects/Hello_World_202104211536/start.py'[WARNING] HDC:2021-04-21-16:23:13.116.649 [drvPpcCreateDir:40] >>> create ppc dir failed, Permission denied (errno:13)[INFO] FMK:2021-04-21-16:23:13.116.899 RegisterTensor:hiaiengine/node/client/ai_tensor.cpp:148:"Tensor register success! type is :AISimpleTensor. "[INFO] FMK:2021-04-21-16:23:13.116.970 RegisterTensor:hiaiengine/node/client/ai_tensor.cpp:148:"Tensor register success! type is :AINeuralNetworkBuffer. "[INFO] FMK:2021-04-21-16:23:13.117.033 RegisterTensor:hiaiengine/node/client/ai_tensor.cpp:148:"Tensor register success! type is :AIImageBuffer. "[INFO] FMK:2021-04-21-16:23:13.117.090 RegisterTensor:hiaiengine/node/client/ai_tensor.cpp:148:"Tensor register success! type is :AippDynamicPara. "2021-04-21 16:23:13,134[8624][INFO ][SFW] Input type is AUTO, try CAM first!2021-04-21 16:23:13,134[8624][INFO ][SFW] Open RTSP/RTMP stream by URL directly.RTMP_ReadPacket, failed to read RTMP packet header2021-04-21 16:23:14,258[8624][ERROR][SFW] Couldn't open input stream, Invalid data found when processing input2021-04-21 16:23:14,258[8624][ERROR][SFW] puller init failed!2021-04-21 16:23:14,258[8624][WARN ][SFW] Get RTMP stream failed, use mp4 for instead.2021-04-21 16:23:14,258[8624][INFO ][SFW] IPCCapture destruction.2021-04-21 16:23:14,258[8624][INFO ][SFW] MP4Reader mediafile(./test/camera0.mp4)2021-04-21 16:23:14,265[8624][INFO ][SFW] nb_streams = 12021-04-21 16:23:14,265[8624][INFO ][SFW] i(0), type(0), id(27)2021-04-21 16:23:14,265[8624][INFO ][SFW] The avcodec name is h264, format=0, bit_rate=23865752021-04-21 16:23:14,312[8624][INFO ][SFW] graph_id(86240), graphPath(decode.graph86240)2021-04-21 16:23:14,355[8624][WARN ][SFW] Cleaning graph(decode.graph86240)2021-04-21 16:23:14,369[8624][INFO ][SFW] --------------- File Information ----------------Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './test/camera0.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.29.100 Duration: 00:00:01.92, start: 0.000000, bitrate: 2390 kb/s Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 960x540 [SAR 1:1 DAR 16:9], 2386 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler2021-04-21 16:23:14,369[8624][INFO ][SFW] -------------------------------------------------2021-04-21 16:23:14,369[8624][INFO ][SFW] width(960), heigh(540)2021-04-21 16:23:14,372[8624][INFO ][SFW] srs connecting rtmp://127.0.0.1/live/d06a6172-a27a-11eb-90f3-87359cc97b6e2021-04-21 16:23:14,641[8624][ERROR][SFW] Model: Failed to create model graph(hiai status: 0x1013011)Traceback (most recent call last): File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/__main__.py", line 45, in cli.main() File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/../ptvsd/server/cli.py", line 361, in main run() File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/../ptvsd/server/cli.py", line 203, in run_file runpy.run_path(options.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/Hello_World_202104211536/start.py", line 18, in main.run(work_path) File "./src/main/python/main.py", line 26, in run cls_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'[huser@HiLens-Studio Hello_World_202104211536]$ env 'PTVSD_LAUNCHER_PORT=45129' '/usr/bin/python3' '/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/launcher' '/home/huser/projects/Hello_World_202104211536/start.py'[WARNING] HDC:2021-04-21-16:24:01.143.275 [drvPpcCreateDir:40] >>> create ppc dir failed, Permission denied (errno:13)[INFO] FMK:2021-04-21-16:24:01.143.541 RegisterTensor:hiaiengine/node/client/ai_tensor.cpp:148:"Tensor register success! type is :AISimpleTensor. "[INFO] FMK:2021-04-21-16:24:01.143.617 RegisterTensor:hiaiengine/node/client/ai_tensor.cpp:148:"Tensor register success! type is :AINeuralNetworkBuffer. "[INFO] FMK:2021-04-21-16:24:01.143.683 RegisterTensor:hiaiengine/node/client/ai_tensor.cpp:148:"Tensor register success! type is :AIImageBuffer. "[INFO] FMK:2021-04-21-16:24:01.143.744 RegisterTensor:hiaiengine/node/client/ai_tensor.cpp:148:"Tensor register success! type is :AippDynamicPara. "2021-04-21 16:24:01,236[8867][INFO ][SFW] Input type is AUTO, try CAM first!2021-04-21 16:24:01,236[8867][INFO ][SFW] Open RTSP/RTMP stream by URL directly.RTMP_ReadPacket, failed to read RTMP packet header2021-04-21 16:24:02,358[8867][ERROR][SFW] Couldn't open input stream, Invalid data found when processing input2021-04-21 16:24:02,358[8867][ERROR][SFW] puller init failed!2021-04-21 16:24:02,358[8867][WARN ][SFW] Get RTMP stream failed, use mp4 for instead.2021-04-21 16:24:02,358[8867][INFO ][SFW] IPCCapture destruction.2021-04-21 16:24:02,358[8867][INFO ][SFW] MP4Reader mediafile(./test/camera0.mp4)2021-04-21 16:24:02,365[8867][INFO ][SFW] nb_streams = 12021-04-21 16:24:02,365[8867][INFO ][SFW] i(0), type(0), id(27)2021-04-21 16:24:02,365[8867][INFO ][SFW] The avcodec name is h264, format=0, bit_rate=23865752021-04-21 16:24:02,445[8867][INFO ][SFW] graph_id(88670), graphPath(decode.graph88670)2021-04-21 16:24:02,491[8867][WARN ][SFW] Cleaning graph(decode.graph88670)2021-04-21 16:24:02,506[8867][INFO ][SFW] --------------- File Information ----------------Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './test/camera0.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.29.100 Duration: 00:00:01.92, start: 0.000000, bitrate: 2390 kb/s Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 960x540 [SAR 1:1 DAR 16:9], 2386 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler2021-04-21 16:24:02,506[8867][INFO ][SFW] -------------------------------------------------2021-04-21 16:24:02,507[8867][INFO ][SFW] width(960), heigh(540)2021-04-21 16:24:02,509[8867][INFO ][SFW] srs connecting rtmp://127.0.0.1/live/ed0aaa3a-a27a-11eb-bfe5-a7779713d8302021-04-21 16:24:02,783[8867][ERROR][SFW] Model: Failed to create model graph(hiai status: 0x1013011)Traceback (most recent call last): File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/__main__.py", line 45, in cli.main() File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/../ptvsd/server/cli.py", line 361, in main run() File "/home/ui-ide/hilens-studio/plugins/vscode-python/extension/pythonFiles/lib/python/new_ptvsd/wheels/ptvsd/../ptvsd/server/cli.py", line 203, in run_file runpy.run_path(options.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/Hello_World_202104211536/start.py", line 18, in main.run(work_path) File "./src/main/python/main.py", line 26, in run cls_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'[huser@HiLens-Studio Hello_World_202104211536]$