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

the command : ./yolov5_det -s yolov5s.wts yolov5s.engine s, error!!! #1532

Open
coding-and-coding opened this issue May 24, 2024 · 3 comments
Labels
wontfix This will not be worked on

Comments

@coding-and-coding
Copy link

coding-and-coding commented May 24, 2024

Env

  • GPU: RTX3090
  • OS: Ubuntu 20.04
  • Cuda version: 11.4
  • TensorRT version: 8.5.2.2
  • torch: 1.12.0

About this repo

  • branch: tensorrtx(yolov5-v7.0)
  • model: yolov5s, v7.0, official weight

Your problem

  • my command: ./yolov5_det -s yolov5s.wts yolov5s.engine s

  • output: [E] [TRT] 9: [graphShapeAnalyzer.cpp::addVolumeCheck::739] Error Code 9: Internal Error (prob: dimension 0 never exceeds -5)
    [05/24/2024-19:01:38] [E] [TRT] 4: [network.cpp::validate::2980] Error Code 4: Internal Error (Could not compute dimensions for (Unnamed Layer* 0) [Convolution]_output, because the network is not valid.)

  • expect output: yolov5s.engine

@wang-xinyu
Copy link
Owner

This error is weird. Are you sure the yolov5s.wts was generated with the official yolov5s-v7.0.pt

@coding-and-coding
Copy link
Author

coding-and-coding commented May 30, 2024 via email

Copy link

stale bot commented Sep 6, 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 Sep 6, 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

2 participants