marcoslucianops / DeepStream-Yolo

NVIDIA DeepStream SDK 7.0 / 6.4 / 6.3 / 6.2 / 6.1.1 / 6.1 / 6.0.1 / 6.0 / 5.1 implementation for YOLO models
MIT License
1.47k stars 355 forks source link

Deepstream 7.1 not working #576

Open mr-mainak opened 4 hours ago

mr-mainak commented 4 hours ago

@marcoslucianops Hi. I'm receiving the following error while compiling in DS 7.1, CUDA=12.6, Trt=10.3.0.26

yolo.cpp: In member function ‘nvinfer1::ICudaEngine* Yolo::createEngine(nvinfer1::IBuilder*, nvinfer1::IBuilderConfig*)’:
yolo.cpp:207:44: error: ‘class nvinfer1::IBuilder’ has no member named ‘buildEngineWithConfig’
  207 |   nvinfer1::ICudaEngine* engine = builder->buildEngineWithConfig(*network, *config);
      |                                            ^~~~~~~~~~~~~~~~~~~~~
yolo.cpp: In member function ‘NvDsInferStatus Yolo::buildYoloNetwork(std::vector<float>&, nvinfer1::INetworkDefinition&)’:
yolo.cpp:468:36: warning: ‘IPluginV2DynamicExt’ is deprecated [-Wdeprecated-declarations]
  468 |     nvinfer1::IPluginV2DynamicExt* yoloPlugin = new YoloLayer(m_InputW, m_InputH, m_NumClasses, m_NewCoords, m_YoloTensors,
      |                                    ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/NvInferRuntime.h:403:22: note: declared here
  403 | class TRT_DEPRECATED IPluginV2DynamicExt : public nvinfer1::IPluginV2Ext
      |                      ^~~~~~~~~~~~~~~~~~~
make: *** [Makefile:81: yolo.o] Error 1
make: Leaving directory '/home/eegrab/c++/deepstream/DeepStream-Yolo/nvdsinfer_custom_impl_Yolo'

Any help is highly appreciated

marcoslucianops commented 3 hours ago

I will add support for DeepStream 7.1 this week.