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

太感谢你了,想在opencv中使用YOLO剪切图片 #2

Open
clawCa opened this issue Jan 26, 2022 · 1 comment
Open

太感谢你了,想在opencv中使用YOLO剪切图片 #2

clawCa opened this issue Jan 26, 2022 · 1 comment

Comments

@clawCa
Copy link

clawCa commented Jan 26, 2022

想使用YOLO识别物体图片然后用opencv裁剪出来,但是发现找到的代码都是使用的yolov3,yolov4的weight和cfg,与YOLOv5的pt的文件格式不一样,才学习yolo不知道如何获取weight和cfg文件,十分感谢你帮助小白!!最后希望你能解答一下为什么一个是pt一个是weight,其中有什么区别

@adrianosantospb
Copy link
Owner

Thank you for your feedback and I'm glad to help you. The difference between both is only the file formats. The *.pt is the Pytorch format and the .weights is the Darknet format, just that.

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

2 participants