X-AnyLabeling icon indicating copy to clipboard operation
X-AnyLabeling copied to clipboard

DOTA8 Dataset (YOLO OBB) Labels Not Loading

Open qinxue123321 opened this issue 2 months ago • 1 comments

Search before asking

  • [x] I have searched the X-AnyLabeling issues and found no similar bug report.

X-AnyLabeling Component

No response

Bug

下载yolo官方数据集dota8 不管是上传yolo obb数据集 还是dota数据集 都没办法打开 最新版本

Information

1

Link to a Reproducible Demonstration Video

1

Execution Mode

Pre-compiled Executable

Additional

No response

Are you willing to submit a PR?

  • [x] Yes I'd like to help by submitting a PR!

qinxue123321 avatar Nov 13 '25 01:11 qinxue123321

Hi qinxue123321, thanks for bringing this to our attention! 😊

Regarding the DOTA data label format, please refer to X-AnyLabeling's official example file to check if your dataset's labels adhere to the expected specifications. Hope this helps you get started!

CVHub520 avatar Nov 15 '25 05:11 CVHub520

是ultralytics 官方那个库 使用yolo的格式无法读取 obb那个,文档已经看来,尝试了很多方法

qinxue123321 avatar Nov 17 '25 01:11 qinxue123321

Hi @qinxue123321, to help troubleshoot this issue effectively, could you please provide a few more details?

First, could you share the terminal logs (the error/output messages when you tried loading the labels)? Second, a short demo video showing your operation steps would make it clearer how you’re attempting to load the dataset. Lastly, sharing a sample of your label file (the actual content/format of one of your label files) would let me check if there’s a mismatch with the expected specifications.

Without these context details, it’s hard to pinpoint what’s going wrong. Let me know once you have these ready!

CVHub520 avatar Nov 17 '25 01:11 CVHub520

ultralytics obb任务的dota8 数据集,没法办录视频,你可以尝试以下,在yolo ultralytics 那个官网上有。 download: https://github.com/ultralytics/assets/releases/download/v0.0.0/dota8.zip

qinxue123321 avatar Nov 18 '25 01:11 qinxue123321

ultralytics obb任务的dota8 数据集,没法办录视频,你可以尝试以下,在yolo ultralytics 那个官网上有。 download: https://github.com/ultralytics/assets/releases/download/v0.0.0/dota8.zip

Ultralytics Dota8 的数据集定义明显不符合 X-AnyLabeling 官方的 obb 数据格式定义:

# Dota8
13 0.241213 0.0185549 0.63672 0.0185549 0.63672 0.281247 0.241213 0.281247
5 0.659178 0.020506 0.779298 0.020506 0.779298 0.229495 0.659178 0.229495
5 0.781248 0.020506 0.902341 0.020506 0.902341 0.229495 0.781248 0.229495
5 0.905276 0.0185549 1.02246 0.0185549 1.02246 0.227538 0.905276 0.227538

官方 obb 数据定义应该是遵循 DOTAv2 才对:

680.1414553538687 1092.0707759027885 685.9903562701513 1098.1274901039565 674.6583879574412 1109.0706447000102 668.8094870411585 1103.013930498842 small-vehicle 0
31.310230038707964 540.3220889649812 16.391330074373307 554.2341882503018 -23.1014065813478 511.88341318746177 -8.182506617013134 497.9713139021411 ship 0
936.3665965205406 636.8966731877421 943.420387418368 644.2010874895824 930.7912768715644 656.3968777804282 923.737485973737 649.0924634785878 small-vehicle 0

数据格式都不匹配你导入怎么可能会成功呢?

Image

David-19940718 avatar Nov 18 '25 02:11 David-19940718

thanks,我看看是怎么转换吧

qinxue123321 avatar Nov 19 '25 06:11 qinxue123321

我以为是一样的 我直接用dota8 训练 的 不好意思

qinxue123321 avatar Nov 19 '25 06:11 qinxue123321