Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你的模型不支持pytorch1.8,目前只能1.6 #4

Closed
gengyanlei opened this issue Mar 23, 2021 · 3 comments
Closed

你的模型不支持pytorch1.8,目前只能1.6 #4

gengyanlei opened this issue Mar 23, 2021 · 3 comments

Comments

@gengyanlei
Copy link

gengyanlei commented Mar 23, 2021

应该不是bug,不过你的opencv版本建议注明 小于4.5.1吧

@gengyanlei gengyanlei added the bug Something isn't working label Mar 23, 2021
@gengyanlei gengyanlei changed the title 你的模型不支持pytorch1.8,目前只能1.6,白费半天时间安装容器,尴尬 你的模型不支持pytorch1.8,目前只能1.6 Mar 23, 2021
@gengyanlei
Copy link
Author

gengyanlei commented Mar 23, 2021

image

不错效果,这是用无人机拍的,看来DOTA的场景也适合无人机影像,比其它基于DOTA的项目效果好多了。我前面都是基于UCAS_AOD数据集测试的

@hukaixuan19970627
Copy link
Owner

对的。opencv版本必须小于4.5,4.5以上版本的cv2.minAeraRect()生成的最小外接矩形框θ的所属范围已经变了,所以不适用当前项目的代码。目前我已经将requirements.txt更新

@hukaixuan19970627 hukaixuan19970627 removed the bug Something isn't working label Mar 23, 2021
@Allenstin
Copy link

给作者大大的赞,写的很详细,这份代码pytorch1.6, cv<4.5就能跑了。谢谢作者

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants