javiribera / locating-objects-without-bboxes

PyTorch code for "Locating objects without bounding boxes" - Loss function and trained models
Other
251 stars 51 forks source link

Questions about ground truth format. #10

Closed iHateTa11B0y closed 5 years ago

iHateTa11B0y commented 5 years ago

Hi,

I was reading the help information of command python3.6 -m object-locator.locate -h offered me when I came across

--dataset DATASET    Directory with test images. Must contain image files                                        (any format), and CSV or XML file containing a                                       groundtruth file following the API v0.4 (default:                                       None)

As far as I know, the groudtruth in mall dataset is a .mat file which is unable to use directly. I have no clue about what 'API v0.4' refers to. Is there any documents that I can catch up with?

Thanks.

javiribera commented 5 years ago

It is understandable this brings confusion since that part of the documentation is not publicly available. I added some clarifications in the readme file and in the docstrings (via commit 878e43fc09e087ed45ccf05fbb67195b0f38be62).

In summary: unless you know you need to use an XML file, whose specifications we designed for a precision agriculture application, you should always use a CSV. Ignore all mentions to XMLs.

Thanks,

iHateTa11B0y commented 5 years ago

That definitely make more sense to me. Thanks for your quick reply btw ^^