nndeploy icon indicating copy to clipboard operation
nndeploy copied to clipboard

pip库的codec模块应该存在bug

Open SpringSan opened this issue 4 months ago • 2 comments

使用pip提供的nndeploy,将工作流中的yolo例子的imagedecode与imageencode改成videodecode和videoencode后,会报错2025-08-22 17:08:19,455 WorkerProcess ERROR [task_id=e013ecea-bde7-4baa-ab91-946f1aa7c0be] [C++ stderr]E/nndeploy_default_str: setPath [File /project/plugin/source/nndeploy/codec/opencv/opencv_codec.cc][Line 219] can not open video file /home/general/chunquansang/new_nndeploy/nndeploy/resources/videos/person.mp4 2025-08-22 17:08:19,455 WorkerProcess ERROR [task_id=e013ecea-bde7-4baa-ab91-946f1aa7c0be] [C++ stderr]E/nndeploy_default_str: setRefPath [File /project/plugin/source/nndeploy/codec/opencv/opencv_codec.cc][Line 459] Error: Failed to open video file /home/general/chunquansang/new_nndeploy/nndeploy/resources/videos/person.mp4. 2025-08-22 17:08:19,456 WorkerProcess ERROR [task_id=e013ecea-bde7-4baa-ab91-946f1aa7c0be] [C++ stderr]E/nndeploy_default_str: deserialize [File /project/plugin/include/nndeploy/codec/codec.h][Line 320] setRefPath failed 2025-08-22 17:08:19,456 WorkerProcess ERROR [task_id=e013ecea-bde7-4baa-ab91-946f1aa7c0be] [C++ stderr]E/nndeploy_default_str: deserialize [File /project/framework/source/nndeploy/dag/graph.cc][Line 2279] deserialize node failed,但是我切换到自己编译的python的nndeploy,能正常运行

SpringSan avatar Aug 22 '25 09:08 SpringSan

你是什么操作系统呀,我找个机器来测试下,看看具体是什么问题

Alwaysssssss avatar Aug 22 '25 12:08 Alwaysssssss

ubuntu

SpringSan avatar Aug 25 '25 02:08 SpringSan