# Detection missing in tensorrt

**URL:** <https://forums.developer.nvidia.com/t/detection-missing-in-tensorrt/263278>\
**Category:** TensorRT\
**Tags:** yolo, pytorch, tensorrt\
**Created:** [August 16, 2023, 8:50am UTC](https://forums.developer.nvidia.com/t/detection-missing-in-tensorrt/263278 "2023-08-16T08:50:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![manuel.johnson](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/manuel.johnson/32/267115_2.png) [@manuel.johnson](https://forums.developer.nvidia.com/u/manuel.johnson)\
**Post date:** [August 16, 2023, 8:50am UTC](https://forums.developer.nvidia.com/t/detection-missing-in-tensorrt/263278/1 "2023-08-16T08:50:39Z")

</div>

Hi ,  
I have trained a segmentation model using yolov8 .  
1.I converted a video of 1 minute i to images and annotated .  
2.Trained with yolov8n-seg .  
3.I was able to get detection in pytorch model b **ut when i converted in to tensorrt engine no segmentations can be found out**.Please help me to solve this problem

---

<div class="post-metadata">

**Author:** ![spolisetty](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/spolisetty/32/14047_2.png) [@spolisetty](https://forums.developer.nvidia.com/u/spolisetty)\
**Post date:** [August 29, 2023, 11:15am UTC](https://forums.developer.nvidia.com/t/detection-missing-in-tensorrt/263278/4 "2023-08-29T11:15:45Z")

</div>

Hi,

Please ensure that you built the TensorRT engine correctly and inference is written correctly.  
Following sample may help you.

> <https://github.com/NVIDIA/TensorRT/tree/main/samples/python/yolov3_onnx>
>
> //github.com/NVIDIA/TensorRT/tree/main/samples/python/yolov3\_onnx

Thank you.

---

<div class="post-metadata">

**Author:** ![manuel.johnson](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/manuel.johnson/32/267115_2.png) [@manuel.johnson](https://forums.developer.nvidia.com/u/manuel.johnson)\
**Post date:** [August 31, 2023, 6:28am UTC](https://forums.developer.nvidia.com/t/detection-missing-in-tensorrt/263278/5 "2023-08-31T06:28:43Z")

</div>

Thanks

---

<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:** [September 14, 2023, 6:29am UTC](https://forums.developer.nvidia.com/t/detection-missing-in-tensorrt/263278/6 "2023-09-14T06:29:16Z")

</div>

Closed on September 14, 2023, 6:29am UTC

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