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

[LabelMe] No escaping in attributes, auto-parsing of numbers can be wrong #49

Closed
lulia0228 opened this issue Sep 22, 2020 · 1 comment · Fixed by #200
Closed

[LabelMe] No escaping in attributes, auto-parsing of numbers can be wrong #49

lulia0228 opened this issue Sep 22, 2020 · 1 comment · Fixed by #200
Labels
data formats PR is related to dataset formats good first issue Good for newcomers

Comments

@lulia0228
Copy link

Hello :
I have two problems when I use upload function to upload labelme-format xml with text attributes.
First, if ',' in a sentence, the part after ',' will lost. For example, ABC CO.,LTD will lost ,LTD.
Second, numeric string will be auto processed to other string which represents a float number. For example "00001" will be transformed into "1.0" , "100.000" will be transformed into"100.00" .
Looking forward to your reply, thanks!

@zhiltsov-max
Copy link
Contributor

Hi,

  • Attributes in this format are separated by commas and have no escaping, nor quoting
  • We are trying to parse values as numbers, if possible. As a workaround, I can suggest to change the number representation, so it did not look like a number. Do you have any ideas on how to make this behavior better?

@zhiltsov-max zhiltsov-max self-assigned this Sep 23, 2020
@zhiltsov-max zhiltsov-max transferred this issue from cvat-ai/cvat Oct 28, 2020
@zhiltsov-max zhiltsov-max changed the title two bugs about upload xml with text attrbute [LabelMe] No escaping in attributes, auto-parsing of numbers can be wrong Oct 28, 2020
@zhiltsov-max zhiltsov-max removed their assignment Mar 4, 2021
@zhiltsov-max zhiltsov-max added data formats PR is related to dataset formats good first issue Good for newcomers labels Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data formats PR is related to dataset formats good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants