Skip to content

How to change input resolution in yolov5? #9881

@samanAntoni

Description

@samanAntoni

Search before asking

Question

I am using this repository in order to export yolov5 to tflite format and I am looking for any possible modification to reduce the execution time.
The first modification, which I want to change, is changing the input resolution of the model. As I read and understood '--imgsz' does not influence size of tensor in the input layer and input layer has always the fixed value of [(1, 416, 416, 3)] :
image

I would appratiate any suggestion in this regard.

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleStale and schedule for closing soonquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions