TypeError: run() got an unexpected keyword argument 'cfg'
不是库版本的问题,
在run里面加入cfg = 'models/yolov5s.yaml' 试试
mark