Deepstream-yolo

configuration as below:

• Hardware Platform (Jetson / GPU)
jetson NX
• DeepStream Version
6.0
• JetPack Version (valid for Jetson only)
4.6.2
• TensorRT Version
8.2.1.8
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

when i compiled the lib:
(py3) shisun@nx:/opt/nvidia/deepstream/deepstream/source/DeepStream-Yolo$ CUDA_VER=10.2 make -C nvdsinfer_custom_impl_Yolo
make: Entering directory ‘/opt/nvidia/deepstream/deepstream-6.0/source/DeepStream-Yolo/nvdsinfer_custom_impl_Yolo’
g++ -c -o nvdsinfer_yolo_engine.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 nvdsinfer_yolo_engine.cpp
Assembler messages:
Fatal error: can’t create nvdsinfer_yolo_engine.o: Permission denied
Makefile:84: recipe for target ‘nvdsinfer_yolo_engine.o’ failed
make: *** [nvdsinfer_yolo_engine.o] Error 1
make: Leaving directory ‘/opt/nvidia/deepstream/deepstream-6.0/source/DeepStream-Yolo/nvdsinfer_custom_impl_Yolo’

and I add ‘sudo’
(py3) shisun@nx:/opt/nvidia/deepstream/deepstream/source/DeepStream-Yolo$ sudo CUDA_VER=10.2 make -C nvdsinfer_custom_impl_Yolo
[sudo] password for shisun:
make: Entering directory ‘/opt/nvidia/deepstream/deepstream-6.0/source/DeepStream-Yolo/nvdsinfer_custom_impl_Yolo’
g++ -c -o nvdsinfer_yolo_engine.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 nvdsinfer_yolo_engine.cpp
g++ -c -o nvdsparsebbox_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 nvdsparsebbox_Yolo.cpp
g++ -c -o yoloPlugins.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 yoloPlugins.cpp
g++ -c -o layers/convolutional_layer.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 layers/convolutional_layer.cpp
g++ -c -o layers/implicit_layer.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 layers/implicit_layer.cpp
g++ -c -o layers/channels_layer.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 layers/channels_layer.cpp
g++ -c -o layers/dropout_layer.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 layers/dropout_layer.cpp
layers/dropout_layer.cpp: In function ‘nvinfer1::ILayer* dropoutLayer(float, nvinfer1::ITensor*, nvinfer1::INetworkDefinition*)’:
layers/dropout_layer.cpp:14:12: warning: ‘output’ is used uninitialized in this function [-Wuninitialized]
return output;
^~~~~~

please info how can i fix it?

There no error. did you press ctrl-c to quit the build?

yes, I interrupted cause I thought there’s error.
Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.