WongKinYiu / PyTorch_YOLOv4

PyTorch implementation of YOLOv4
1.88k stars 585 forks source link

把训练好的模型.pt转换成.weight用到darknet里的问题 #399

Open rickeyguan opened 2 years ago

rickeyguan commented 2 years ago

把训练好的模型.pt转换成.weight,和.cfg .names用到darknet里 测出来的结果和用.pt测的结果相差很大 请问我需要做什么修改吗?

when I use the .weight file changed from trained .pt file in darknet there is difference of the results. do I need to change something? thank you!

xinhappy1 commented 1 year ago

你好,你是如何将.pt转成.weights的? hi,how do you convert .pt file to .weights file? @rickeyguan

把训练好的模型.pt转换成.weight,和.cfg .names用到darknet里 测出来的结果和用.pt测的结果相差很大 请问我需要做什么修改吗?

when I use the .weight file changed from trained .pt file in darknet there is difference of the results. do I need to change something? thank you!