# TensorRT

**URL:** <https://forums.developer.nvidia.com/t/tensorrt/187637>\
**Category:** TensorRT\
**Created:** [August 26, 2021, 3:19am UTC](https://forums.developer.nvidia.com/t/tensorrt/187637 "2021-08-26T03:19:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ragu\_23](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Ragu\_23](https://forums.developer.nvidia.com/u/Ragu_23)\
**Post date:** [August 26, 2021, 3:19am UTC](https://forums.developer.nvidia.com/t/tensorrt/187637/1 "2021-08-26T03:19:12Z")

</div>

## Description

I created a simple model with single convolution layer with an activation layer(RELU) and made a TRT engine as given in the [TensorRT](https://github.com/NVIDIA/TensorRT/tree/eb8442dba3c9e85ffb77e0d870d2e29adcb0a4aa)/[samples](https://github.com/NVIDIA/TensorRT/tree/eb8442dba3c9e85ffb77e0d870d2e29adcb0a4aa/samples)/[python](https://github.com/NVIDIA/TensorRT/tree/eb8442dba3c9e85ffb77e0d870d2e29adcb0a4aa/samples/python)/[network\_api\_pytorch\_mnist](https://github.com/NVIDIA/TensorRT/tree/eb8442dba3c9e85ffb77e0d870d2e29adcb0a4aa/samples/python/network_api_pytorch_mnist) . The model is performing well, while I use the model. predict method in Tensorflow, But after converting the model Into TRT engine, The performance is poor.

I will attach mine and the Nvidia GIT repository, Can anyone please take a lot and help me out.

## Environment

**TensorRT Version** : 8.0  
**GPU Type** : GTX 1050 TI  
**Nvidia Driver Version** : 470.57.02  
**CUDA Version** : 11.4  
**CUDNN Version** : 8.2  
**Operating System + Version** : Ubuntu 20.04  
**Python Version (if applicable)** : 3.8  
**TensorFlow Version (if applicable)** : 2.5  
**PyTorch Version (if applicable)** :  
**Baremetal or Container (if container which image + tag)** :

## Relevant Files

[https://github.com/Ragu2399/TRT-for-Mean-Filter](https://github.com/Ragu2399/TRT-for-Mean-Filter)

## 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:** ![NVES](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nves/32/14043_2.png) [@NVES](https://forums.developer.nvidia.com/u/NVES)\
**Post date:** [August 26, 2021, 6:24am UTC](https://forums.developer.nvidia.com/t/tensorrt/187637/2 "2021-08-26T06:24:36Z")

</div>

Hi,  
Please check the below link, as they might answer your concerns

> **[API Reference :: NVIDIA Deep Learning TensorRT Documentation](https://docs.nvidia.com/deeplearning/tensorrt/api/index.html)**
>
> This is the API Reference documentation for the NVIDIA TensorRT library. The following set of APIs allows developers to import pre-trained models, calibrate networks for INT8, and build and deploy optimized networks with TensorRT. Networks can be...

Thanks!
