hukaixuan19970627 / yolov5_obb

yolov5 + csl_label.(Oriented Object Detection)(Rotation Detection)(Rotated BBox)基于yolov5的旋转目标检测
GNU General Public License v3.0
1.83k stars 427 forks source link

swig执行报错 #42

Closed tuoxiexiansheng closed 3 years ago

tuoxiexiansheng commented 3 years ago

❔Question

image 大佬好,请问我在执行 python setup.py build_ext --inplace 这条命令的时候会报这样的错误请问是什么原因呢?操作系统是windows10

Additional context

github-actions[bot] commented 3 years ago

Hello @tuoxiexiansheng, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook Open In Colab, Docker Image, and Google Cloud Quickstart Guide for example environments.

If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.

If this is a custom model or data training question, please note Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:

For more information please visit https://www.ultralytics.com.

hukaixuan19970627 commented 3 years ago

linux系统按照readme流程来安装环境的话不会出现问题; windows基本上编译swig这一步就会失败,不过也有人成功过,你搜索一下swig windows DOTA_devkit关键词,有人在博客上总结过经验

tuoxiexiansheng commented 3 years ago

linux系统按照readme流程来安装环境的话不会出现问题; windows基本上编译swig这一步就会失败,不过也有人成功过,你搜索一下swig windows DOTA_devkit关键词,有人在博客上总结过经验

好的,谢谢大佬

weiyidawang commented 2 years ago

把polyiou.cpp用Notepad打开,编码->使用UTF-8-BOM编码->保存即可。 bfdb015cc592386d8b639fecc33bb52