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

how to get _param.pth? #5

Open
qianmin opened this issue Jan 31, 2021 · 6 comments
Open

how to get _param.pth? #5

qianmin opened this issue Jan 31, 2021 · 6 comments

Comments

@qianmin
Copy link

qianmin commented Jan 31, 2021

you mean convert yolov5s.pt to yolov5_param.pth?

is there a difference beteween .pt and .pth?
wow, i hope to recieve your answer。

@dmMaze
Copy link

dmMaze commented Feb 20, 2021

可以按这位老哥贴的csdn博文来改那几行官方代码,不需要转pth

@cyyfighting12
Copy link

可以按这位老哥贴的csdn博文来改那几行官方代码,不需要转pth

成功了吗?我看到CSDN博文生成是先load yolov5s.pt,再保存导出的,但是我导出的和博主导出的pth不一样~

@qianmin
Copy link
Author

qianmin commented Feb 25, 2021

可以按这位老哥贴的csdn博文来改那几行官方代码,不需要转pth

成功了吗?我看到CSDN博文生成是先load yolov5s.pt,再保存导出的,但是我导出的和博主导出的pth不一样~

没成功,还是不行。

@dmMaze
Copy link

dmMaze commented Feb 25, 2021

可以按这位老哥贴的csdn博文来改那几行官方代码,不需要转pth

成功了吗?我看到CSDN博文生成是先load yolov5s.pt,再保存导出的,但是我导出的和博主导出的pth不一样~

可以看我的fork https://github.com/dmMaze/yolov5

@cyyfighting12
Copy link

cyyfighting12 commented Mar 8, 2021 via email

@godlovehill
Copy link

godlovehill commented May 21, 2021

you mean convert yolov5s.pt to yolov5_param.pth?

is there a difference beteween .pt and .pth?
wow, i hope to recieve your answer。

you can export a trained YOLOv5 model to onnx from this tutorials: ultralytics/yolov5#251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants