torch.hub.load 加载本地yolov5模型时报错TypeError: custom() got an unexpected keyword argument ‘path’
解决办法,将代码改成如下:
self.model = torch.hub.load('C:/Users/叶绿体不忘呼吸/Desktop/yolov5-5.0', 'custom', 'runs/trai
torch.hub.load 加载本地yolov5模型时报错TypeError: custom() got an unexpected keyword argument ‘path’
解决办法,将代码改成如下:
self.model = torch.hub.load('C:/Users/叶绿体不忘呼吸/Desktop/yolov5-5.0', 'custom', 'runs/trai