How to Convert PyTorch Model to Engine | TensorRT

preview_player
Показать описание
Thanks for watching!

CODE:
from ultralytics import YOLO

Music:
- Purrple Cat - Moonwinds
- Provided by Lofi Records

Tags:
yolov8, yolov7, yolov5, amd, nvidia, boost fps, speed up, faster, object detection, ai, model, train, training, new, working, 2024, 2025, tutorial, free
Рекомендации по теме
Комментарии
Автор

Here is the code:

from ultralytics import YOLO

model = YOLO('best.pt')

model.export(format='engine', verbose=False, half=True)

tensorrt_model = YOLO('best.engine', task="detect")

Gannon
Автор

Gannon Your voice has changed and im sur you didn't remember me lol
Anyways you still my favorite friend dude love ya

TerroristSongs
Автор

How would I incorporate this into my code?

Swacelovesai
Автор

This is just for YOLO model and not for nothing else so your title is misleading

search