# Yolov4 tensorrt loading IPluginCreator not found error

**URL:** <https://forums.developer.nvidia.com/t/yolov4-tensorrt-loading-iplugincreator-not-found-error/248250>\
**Category:** TensorRT\
**Created:** [March 31, 2023, 5:37am UTC](https://forums.developer.nvidia.com/t/yolov4-tensorrt-loading-iplugincreator-not-found-error/248250 "2023-03-31T05:37:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwson3](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jwson3](https://forums.developer.nvidia.com/u/jwson3)\
**Post date:** [March 31, 2023, 5:37am UTC](https://forums.developer.nvidia.com/t/yolov4-tensorrt-loading-iplugincreator-not-found-error/248250/1 "2023-03-31T05:37:31Z")

</div>

## Description

I mad a yolov4 tensorrt engine file using cv notebook samples of tao toolkit in python virtual envirionment, and the model was validated by using tao inference. It worked fine.

But When I tried to load in tensorRT. I got the error like this.

\<\_io.BufferedReader name=‘./trt.engine’\>  
[03/31/2023-05:23:57] [TRT] [E] 1: [pluginV2Runner.cpp::load::300] Error Code 1: Serialization (Serialization assertion creator failed.Cannot deserialize plugin since corresponding IPluginCreator not found in Plugin Registry)  
[03/31/2023-05:23:57] [TRT] [E] 4: [runtime.cpp::deserializeCudaEngine::66] Error Code 4: Internal Error (Engine deserialization failed.)

What is the problem?

## Environment

**TensorRT Version** : 8.5.1  
**GPU Type** : 3090 TI  
**Nvidia Driver Version** : 530.30.02  
**CUDA Version** : 12.1  
**CUDNN Version** : 8.8.1  
**Operating System + Version** : Ubuntu 22.04  
**Python Version (if applicable)**: 3.10  
**TensorFlow Version (if applicable)**:  
**PyTorch Version (if applicable)**:  
**Baremetal or Container (if container which image + tag)**:

## Relevant Files

Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)

## Steps To Reproduce

Please include:

- Exact steps/commands to build your repro
- Exact steps/commands to run your repro
- Full traceback of errors encountered

---

<div class="post-metadata">

**Author:** ![AakankshaS](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aakankshas/32/14047_2.png) [@AakankshaS](https://forums.developer.nvidia.com/u/AakankshaS)\
**Post date:** [March 31, 2023, 6:07am UTC](https://forums.developer.nvidia.com/t/yolov4-tensorrt-loading-iplugincreator-not-found-error/248250/2 "2023-03-31T06:07:56Z")

</div>

Hi,  
Please refer to below links related custom plugin implementation and sample:

> **[Sample Support Guide :: NVIDIA Deep Learning TensorRT Documentation](https://docs.nvidia.com/deeplearning/tensorrt/sample-support-guide/index.html#onnx_packnet)**
>
> This Samples Support Guide provides an overview of all the supported NVIDIA TensorRT 8.6.0 Early Access (EA) samples included on GitHub and in the product package. The TensorRT samples specifically help in areas such as recommenders, machine...

> **[Estimating Depth with ONNX Models and Custom Layers Using NVIDIA TensorRT |...](https://developer.nvidia.com/blog/estimating-depth-beyond-2d-using-custom-layers-on-tensorrt-and-onnx-models/)**
>
> TensorRT is an SDK for high performance, deep learning inference. It includes a deep learning inference optimizer and a runtime that delivers low latency and high throughput for deep learning…

While IPluginV2 and IPluginV2Ext interfaces are still supported for backward compatibility with TensorRT 5.1 and 6.0.x respectively, however, we recommend that you write new plugins or refactor existing ones to target the IPluginV2DynamicExt or IPluginV2IOExt interfaces instead.

Thanks!

---

<div class="post-metadata">

**Author:** ![jwson3](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jwson3](https://forums.developer.nvidia.com/u/jwson3)\
**Post date:** [March 31, 2023, 6:46am UTC](https://forums.developer.nvidia.com/t/yolov4-tensorrt-loading-iplugincreator-not-found-error/248250/5 "2023-03-31T06:46:37Z")

</div>

Thanks for the quick response. I will take a look at the sample you gave me.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [April 14, 2023, 6:47am UTC](https://forums.developer.nvidia.com/t/yolov4-tensorrt-loading-iplugincreator-not-found-error/248250/6 "2023-04-14T06:47:17Z")

</div>

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