Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

看起来Yolov8代码绑定了640X640的input size,请问如何修改支持别的输入尺寸? #1408

Closed
RaidenCJ opened this issue Nov 20, 2023 · 4 comments
Labels
wontfix This will not be worked on

Comments

@RaidenCJ
Copy link

Env

  • GPU, e.g. V100, RTX2080, TX2, Xavier NX, Nano, etc.
    RTX2060
  • OS, e.g. Ubuntu16.04, Win10, etc.
    windows
  • Cuda version
    11.4
  • TensorRT version
    8.6.0.12

About this repo

  • which branch/tag/commit are you using?
    Master
  • which model? yolov5, retinaface?
    Yolov8s

Your problem

看起来Yolov8代码绑定了640X640的input size,请问如何修改支持别的输入尺寸?

@Rex-LK
Copy link
Contributor

Rex-LK commented Nov 21, 2023

include/config.h里面可以修改输入尺寸,可以试一试!

@RaidenCJ
Copy link
Author

include/config.h里面可以修改输入尺寸,可以试一试!

你们试过么?config改了960也会报错的,应该是你们在model里面的参数设置( det0, 1, 2)导致

@wang-xinyu
Copy link
Owner

@RaidenCJ 修改完是否重新编译和重新生成engine了?

Copy link

stale bot commented Feb 3, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Feb 3, 2024
@stale stale bot closed this as completed Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants