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

Got all zero <bndbox> in XML #5

Open
wayne6812 opened this issue Sep 26, 2020 · 6 comments
Open

Got all zero <bndbox> in XML #5

wayne6812 opened this issue Sep 26, 2020 · 6 comments

Comments

@wayne6812
Copy link

wayne6812 commented Sep 26, 2020

Finished running demo, I got all zero bndbox in cat.xml & dog.xml...

<bndbox> <xmin>0</xmin> <ymin>0</ymin> <xmax>0</xmax> <ymax>0</ymax> </bndbox>

螢幕截圖 2020-09-26 18 07 14

@hai-h-nguyen
Copy link
Owner

hai-h-nguyen commented Sep 29, 2020

I just test and the script still outputs correct XML file. Here is the command:
python3 yolo2pascal/yolo2voc.py demo/yolo2pascal.

dog.xml should have:

768
350
1567
1247

cat.xml:

474
2
726
448

There must be something wrong since even the sizes of images are incorrect. Yours are zero.

@hai-h-nguyen
Copy link
Owner

Can you try that again to see if it works?

@eren-erver
Copy link

I have the same problem too.

@hai-h-nguyen
Copy link
Owner

Can you try again w/ the current version? I just test again and it is fine.

@zaheerbeg21
Copy link

zaheerbeg21 commented Dec 26, 2020

Not detecting anything all values are zeroes and missing for all, kindly see attchements ..

yolo2pascal
image_9.png
demo/yolo2pascal\image_9.png

Unknown


3250
3250
3

0

image_0

@hai-h-nguyen
Copy link
Owner

Hello,

My script only tries to convert the label format, it is not an object detection script. Are you trying to use it to detect stuff?

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

4 participants