Closed jianyangshi closed 1 year ago
Can you help me!
What's the error? That you send is only the compilation part.
What's the error? That you send is only the compilation part. When i run CUDA_VER=10.2 make -C nvdsinfer_custom_impl_Yolo_seg,I can't get a new deepstream-app.The deepstream-app is also the detection deepstream-app! It appears the followings: https://github.com/ubuntu:~/DeepStream-Yolo-Seg$ sudo CUDA_VER=10.2 make -C nvdsinfer_custom_impl_Yolo_seg make: Entering directory '/home/sfhs/DeepStream-Yolo-Seg/nvdsinfer_custom_impl_Yolo_seg' make: Nothing to be done for 'all'. make: Leaving directory '/home/sfhs/DeepStream-Yolo-Seg/nvdsinfer_custom_impl_Yolo_seg' The error is that, if i use the run : deepstream-app -c deepstream_app_config.txt,i can not get the trt engine and get the seg result!
sfhs@ubuntu:~$ cd DeepStream-Yolo-Seg sfhs@ubuntu:~/DeepStream-Yolo-Seg$ sudo CUDA_VER=10.2 make -C nvdsinfer_custom_impl_Yolo_seg make: Entering directory '/home/sfhs/DeepStream-Yolo-Seg/nvdsinfer_custom_impl_Yolo_seg' g++ -c -o utils.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-10.2/include utils.cpp g++ -c -o nvdsparseseg_Yolo.o -Wall -std=c++11 -shared -fPIC -Wno-error=deprecated-declarations -I/opt/nvidia/deepstream/deepstream/sources/includes -I/usr/local/cuda-10.2/include nvdsparseseg_Yolo.cpp g++ -o libnvdsinfer_custom_impl_Yolo_seg.so utils.o nvdsparseseg_Yolo.o -shared -Wl,--start-group -L/usr/local/cuda-10.2/lib64 -lcudart -lcublas -lstdc++fs -Wl,--end-group make: Leaving directory '/home/sfhs/DeepStream-Yolo-Seg/nvdsinfer_custom_impl_Yolo_seg' sfhs@ubuntu:~/DeepStream-Yolo-Seg$ deepstream-app -c deepstream_app_config.txt bash: deepstream-app: command not found sfhs@ubuntu:~/DeepStream-Yolo-Seg$ sudo deepstream-app -c deepstream_app_config.txt sudo: deepstream-app: command not found sfhs@ubuntu:~/DeepStream-Yolo-Seg$ I del the old folder, i download the DeepStream-Yolo-Seg again,i compile with the command:sudo CUDA_VER=10.2 make -C nvdsinfer_custom_impl_Yolo_seg and i run the command:sudo deepstream-app -c deepstream_app_config.txt,it does nor work! And can you give me some help?
My hero! Please help me deal with the problem!
sfhs@ubuntu:~/DeepStream-Yolo-Seg$ sudo deepstream-app -c deepstream_app_config.txt [sudo] password for sfhs:
Using winsys: x11
ERROR: Deserialize engine failed because file path: /home/sfhs/DeepStream-Yolo-Seg/yolov8s-seg.onnx_b1_gpu0_fp32.engine open error
0:00:04.959025154 20780 0x7f4c0022d0 WARN nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:
ERROR: [TRT]: ModelImporter.cpp:776: --- End node ---
ERROR: [TRT]: ModelImporter.cpp:779: ERROR: builtin_op_importers.cpp:4870 In function importFallbackPluginImporter:
[8] Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?"
ERROR: Failed to parse onnx file
ERROR: failed to build network since parsing model errors.
ERROR: failed to build network.
0:00:06.420640986 20780 0x7f4c0022d0 ERROR nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger:
Now it is the problem!
@ubuntu:~/DeepStream-Yolo-Seg$ sudo CUDA_VER=10.2 make -C nvdsinfer_custom_impl_Yolo_seg make: Entering directory '/home/sfhs/DeepStream-Yolo-Seg/nvdsinfer_custom_impl_Yolo_seg' make: Nothing to be done for 'all'. make: Leaving directory '/home/sfhs/DeepStream-Yolo-Seg/nvdsinfer_custom_impl_Yolo_seg'