Skip to content

Tensorrt export fail #6336

@dariogonle

Description

@dariogonle

Search before asking

  • I have searched the YOLOv5 issues and found no similar bug report.

YOLOv5 Component

Export

Bug

I've used the export.py script to convert yolov5n.pt to tensorrt.

python3 export.py --weights yolov5n.pt --include engine

But the conversion process fails.

image

It says that tensorrt is not installed, but it is:
image

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions