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

ModuleNotFoundError: No module named 'utils.torch_utils' #1518

Open
sssssshf opened this issue May 10, 2024 · 3 comments
Open

ModuleNotFoundError: No module named 'utils.torch_utils' #1518

sssssshf opened this issue May 10, 2024 · 3 comments
Labels
wontfix This will not be worked on

Comments

@sssssshf
Copy link

Env

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

About this repo

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

Your problem

pt转wts时候报错,ModuleNotFoundError: No module named 'utils.torch_utils'
这个文件找不到是为啥呢

  • what is your command? e.g. sudo ./yolov5 -s
  • what's your output?
  • what output do you expect?
@sssssshf
Copy link
Author

w我把yoloV7的utils文件夹丢进去在加在模型时候报错
ModuleNotFoundError: No module named 'models'

@wang-xinyu
Copy link
Owner

gen_wts是在pytorch代码库目录下运行,再看下readme

Copy link

stale bot commented Jul 14, 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 Jul 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

2 participants