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

Scanning 'bottle_data/train/labelTxt' images and labels...16229 found, 23 missing, 1 empty, 466 corrupted: #478

Open
LULU-LULULA opened this issue Oct 7, 2022 · 3 comments

Comments

@LULU-LULULA
Copy link

LULU-LULULA commented Oct 7, 2022

(单目标识别)使用自己的数据集进行训练,使用roLabelImg标注目标为XML格式,再转为DOTA的四点坐标生成txt文件,在进行训练时显示 23 missing, 1 empty, 466 corrupted,可是数据集之前可视化过,图片和标注信息均无损坏,请问该怎么解决啊。
train: Scanning 'bottle_data/train/labelTxt' images and labels...16229 found, 23 missing, 1 empty, 466 corrupted: 100%|████████████████████████████████████████████████████████████████████| 16252/16252 [00:02<00:00, 7261.77it/s] train: WARNING: bottle_data/train/images/1_Sand_000004_79_2.png: ignoring corrupt image/label: negative label values [ -0.5 -0.5], please check your dota format labels train: WARNING: bottle_data/train/images/1_Sand_000004_93_2.png: ignoring corrupt image/label: negative label values [ -0.5 -0.5 -0.5 -0.5], please check your dota format labels train: WARNING: bottle_data/train/images/1_Sand_000005_85_1.png: ignoring corrupt image/label: negative label values [ -0.6 -0.5], please check your dota format labels train: WARNING: bottle_data/train/images/1_Sand_000007_38_1.png: ignoring corrupt image/label: negative label values [ -0.5 -0.5], please check your dota format labels train: WARNING: bottle_data/train/images/1_Sand_000007_40_1.png: ignoring corrupt image/label: negative label values [ -0.5 -0.5], please check your dota format labels train: WARNING: bottle_data/train/images/1_Sand_000009_91_2.png: ignoring corrupt image/label: negative label values [ -0.4 -0.5 -0.5], please check your dota format labels train: WARNING: bottle_data/train/images/1_Sand_000011_77_2.png: ignoring corrupt image/label: negative label values [ -0.5 -0.5], please check your dota format labels train: WARNING: bottle_data/train/images/1_Sand_000011_85_1.png: ignoring corrupt image/label: negative label values [ -0.5 -0.5], please check your dota format labels train: WARNING: bottle_data/train/images/1_Sand_000012_55_1.png: ignoring corrupt image/label: negative label values [ -0.1], please check your dota format labels
问题图片:
image
代码说出错的图片1_Sand_000001_79_2.png
1_Sand_000001_79_2
对应txt文件1_Sand_000001_79_2.txt
image

@LULU-LULULA
Copy link
Author

问题已解决。是标签转化中由于被切割存在负值,只要改成0就好

@pangyanhua
Copy link

请问您是怎么修改的啊,我也遇到了同样的问题

@LULU-LULULA
Copy link
Author

LULU-LULULA commented Nov 14, 2022 via email

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

2 participants