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