positive666 / yolo_research

based on yolo-high-level project (detect\pose\classify\segment\):include yolov5\yolov7\yolov8\ core ,improvement research ,SwintransformV2 and Attention Series. training skills, business customization, engineering deployment C
GNU General Public License v3.0
758 stars 146 forks source link

yolo.py运行yolov5-transformer.yaml报错 #11

Closed Someone1Wu closed 2 years ago

Someone1Wu commented 2 years ago

作者大大,我从您的model/hub 文件和yolov5原作者的代码里现在mater版本的model/hub里加载yolov5-transformer.yaml,运行yolo.py都出现了报错:TypeError: new(): argument 'size' must be tuple of ints, but found element of type float at pos 2,这是什么原因呀?

positive666 commented 2 years ago

类型错了估计是 那个是作者的 我没用过 也许修复了tuple类型

Someone1Wu commented 2 years ago

类型错了估计是 那个是作者的 我没用过 也许修复了tuple类型

大大,在你那里加载transformer.yaml运行yolo.py也会报错吗?这应该怎么改嘞?

positive666 commented 2 years ago

那你就下他接口 我没关注C3TR那个 我也没用过

Someone1Wu commented 2 years ago

大大,下什么接口呀,不是很明白

xxxjjjx commented 2 years ago

请问你解决这个问题了吗?

xxxjjjx commented 2 years ago

解决了

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Someone1Wu commented 2 years ago

解决了

兄弟,你是怎么解决的呀,可以交流一下吗?QQ2398320873