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

error in dataset_train_rgb/train.yaml #20

Open
KexianShen opened this issue Feb 17, 2025 · 3 comments
Open

error in dataset_train_rgb/train.yaml #20

KexianShen opened this issue Feb 17, 2025 · 3 comments

Comments

@KexianShen
Copy link

Hi,

In the dataset_train_rgb/train.yaml:

- boxes:
  - {label: Red, occluded: true, x_max: 509.8248937902, x_min: 504.5962414227, y_max: 268.8949346886,
    y_min: 256.5922232358}
  - {label: Green, occluded: false, x_max: 785.3562529442, x_min: 775.3746671976,
    y_max: 298.5301082859, y_min: 276.5830549694}
  - {label: Green, occluded: false, x_max: 687.9066127428, x_min: 682.6916752957,
    y_max: 309.9256324131, y_min: 297.3849495046}
  - {label: Green, occluded: false, x_max: 598.9207546893, x_min: 592.1995969779,
    y_max: 275.9025806451, y_min: 262.283392651}
  - {label: Green, occluded: false, x_max: 785.1169839057, x_min: 786.2394607942,
    y_max: 286.8550689898, y_min: 287.1045082984}
  path: ./rgb/train/2015-10-05-11-26-32_bag/108372.png

The last box has x_max < x_min and y_max < y_min. This is not what we expected, right?

@karstenBehrendt
Copy link
Collaborator

Hi, I'm surprised nobody has caught that one before. Did you by chance check if those annotations fit if you just flip the min and max values for those labels? That'll be an easy fix if that is the case.

@KexianShen
Copy link
Author

Hi Karsten,

yes, flipping the min and max values fixes. Thank you.

@karstenBehrendt
Copy link
Collaborator

I'll still fix the yaml file when I feel like it and remember :)

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