Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) • DeepStream Version • JetPack Version (valid for Jetson only) • TensorRT Version • 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)
Hi, I have a question about custom model in DeepStream. Is it possible in DeepStream to use TensorRT engine which is not detector, classifier or does not segmentation? I have the engine which takes as inputs frame and mask and return frame with blurred objects based on mask. Is there any option to use it or maybe should I write custom plugin for it?
Thanks
Thank you for reply. I implemented OpenCV bluring code in custom library in videotemplate plugin and everything works fine. So now I want to run my bluring engine inside the custom library, cause opencv code works really slow. Can you give me some instruction or template what I should implement to run tensorRT engine? Gst-nvinfer plugin is an extensive plugin and I believe I can implement code for my engine in shorter form.
Thank you
I implemented code for run engine in custom library but I get en error when I run inference. Can you help me find the reason of this error? I send my script and ONNX file in PM. Error:
…/rtSafe/cuda/genericReformat.cu (1294) - Cuda Error in executeMemcpy: 1 (invalid argument)
FAILED_EXECUTION: std::exception
free(): invalid pointer
Aborted (core dumped)
My engine works with dynamic axis. It has two input images and one output images. Shape of image: ‘frame’: -1, -1, 3, ‘mask’: -1, -1, ‘output’: -1, -1, 3. To create engine: