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

Train data format #58

Open
vedrusss opened this issue Aug 7, 2018 · 0 comments
Open

Train data format #58

vedrusss opened this issue Aug 7, 2018 · 0 comments

Comments

@vedrusss
Copy link

vedrusss commented Aug 7, 2018

Thank you for your nice implementation and share!

Could you please give an example of your data (face boxes and landmarks) provided for CelebA?
I wounder the data format:

  1. does face box represented as or ? In absolute or ratio coordinates (ratio to image width, height)?
  2. do facial landmarks coordinates are presented as X1 Y1 X2 Y2 ... X5 Y5? Or X1 X2 X3 ... Y3 Y4 Y5? In absolute or ratio coordinates?

Next, CelebA stores 'regression_nums_' (random numbers) into 'rectangle.txt' (line 157: txt_write(regression_nums_, "rectangle");). While 'generate_hdf5.py' needs 'regression_box.txt'. Is that just filename confusion? Do I really must provide random numbers instead of face boxes into 'generate_hdf5.py' or there is some mistake?

Thank you

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

1 participant