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错误记录(未解决)
最新推荐文章于 2025-06-09 23:54:15 发布