Note this warning may be related to loading older models. You can update your model to current structure with:
import torch
ckpt = torch.load(“model.pt”) # applies to both official and custom models
torch.save(ckpt, “updated-model.pt”)
yolo错误记录(未解决)
最新推荐文章于 2024-07-04 10:16:07 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)