DeepStream-Yolo
DeepStream-Yolo copied to clipboard
Deepstream-5.0/5.1
I have been a long time user of this repo and recently noticed that you do not support Deesptream 5.1 anymore? Would it be possible to create a branch with the old code that supports deepstream 5.1 and cuda 11.1?
When trying to build this in Deepstream-5.1, I get the following error
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-11.1/include nvdsinfer_yolo_engine.cpp
In file included from nvdsinfer_yolo_engine.cpp:28:0:
yoloPlugins.h:90:13: error: 'int32_t YoloLayer::enqueue(int, const void* const*, void* const*, void*, cudaStream_t)' marked 'override', but does not override
int32_t enqueue (
^~~~~~~
yoloPlugins.h: In member function 'virtual nvinfer1::IPluginV2* YoloLayerPluginCreator::deserializePlugin(const char*, const void*, size_t)':
yoloPlugins.h:150:54: error: invalid new-expression of abstract class type 'YoloLayer'
return new YoloLayer(serialData, serialLength);
^
yoloPlugins.h:57:7: note: because the following virtual functions are pure within 'YoloLayer':
class YoloLayer : public nvinfer1::IPluginV2
^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/NvInferRuntime.h:59:0,
from /usr/include/x86_64-linux-gnu/NvInfer.h:53,
from /usr/include/x86_64-linux-gnu/NvCaffeParser.h:53,
from /opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer_custom_impl.h:128,
from nvdsinfer_yolo_engine.cpp:26:
/usr/include/x86_64-linux-gnu/NvInferRuntimeCommon.h:560:21: note: virtual int32_t nvinfer1::IPluginV2::enqueue(int32_t, const void* const*, void**, void*, cudaStream_t)
virtual int32_t enqueue(int32_t batchSize, const void* const* inputs, void** outputs, void* workspace,
^~~~~~~
Makefile:91: recipe for target 'nvdsinfer_yolo_engine.o' failed
make: *** [nvdsinfer_yolo_engine.o] Error 1
Any help would be appreciated. This repo has been a savior to me in the past so I really appreciate everything you do for the community!
I will try to add that in the future.
Hello, Any updates regarding @HeeebsInc 's suggestion. Many thanks.
Not yet, sorry.
Added support for DeepStream 5.1.