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

Data set input #33

Open
666tua opened this issue Dec 16, 2022 · 3 comments
Open

Data set input #33

666tua opened this issue Dec 16, 2022 · 3 comments

Comments

@666tua
Copy link

666tua commented Dec 16, 2022

The data set I downloaded from MHAD's official website is in.mat format. How to convert to txt file.What is the format of the txt file you entered?

@stuarteiffert
Copy link
Owner

stuarteiffert commented Dec 17, 2022

It doesnt need to be in any specific file format as long as the output of load_x and load_y is a 2D array of kpts per frame, eg

[[j0_x, j0_y, j1_x, j1_y , j2_x, j2_y, j3_x, j3_y, j4_x, j4_y, j5_x, j5_y, j6_x, j6_y, j7_x, j7_y, j8_x, j8_y, j9_x, j9_y, j10_x, j10_y, j11_x, j11_y, j12_x, j12_y, j13_x, j13_y, j14_x, j14_y, j15_x, j15_y, j16_x, j16_y, j17_x, j17_y],...]

You can adapt those functions to read a .mat and output the same format array

@666tua
Copy link
Author

666tua commented Dec 20, 2022

Thank you very much for your reply!I downloaded the data set provided in your article.But I don't understand the contents of Y_test.txt and Y_train.txt.
a

@666tua
Copy link
Author

666tua commented Dec 24, 2022

它不需要任何特定的文件格式,只要 load_x 和 load_y 的输出是每帧 kpts 的二维数组,例如

[[j0_x, j0_y, j1_x, j1_y , j2_x, j2_y, j3_x, j3_y, j4_x, j4_y, j5_x, j5_y, j6_x, j6_y, j7_x, j7_y, j8_x, j8_y, j9_x, j9_y, j10_x, j10_y, j11_x, j11_y, j12_x, j12_y, j13_x, j13_y, j14_x, j14_y, j15_x, j15_y, j16_x, j16_y, j17_x, j17_y],...]

您可以调整这些函数以读取 .mat 并输出相同格式的数组

The content of X_train.txt is 18 pairs of coordinates. I want to know what the symbol in Y_train.txt means and how to make it.

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