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

Only first frame being output #5

Open
noahratliff opened this issue Jan 29, 2019 · 2 comments
Open

Only first frame being output #5

noahratliff opened this issue Jan 29, 2019 · 2 comments

Comments

@noahratliff
Copy link

I am running Python 3.6 on windows 10 with tensorflow 1.12.0. I have successfully run the program but it is only outputting the first frame several times over, despite running it on a file with approximately 240 JSON files. It seems to be properly reading the JSON files, and the 2D files are correct. Do you have any idea why this error is occurring? Thanks for any help you can offer.

@noahratliff
Copy link
Author

It seems like the line in question is this one:

for i in range(poses3d.shape[0]): for j in range(32): poses3d[i][j * 3 + 2] = max - poses3d[i][j * 3 + 2] + min poses3d[i][j * 3] += (spine_x - 630) poses3d[i][j * 3 + 2] += (500 - spine_y)
Before this, the 3D numbers are different for each frame, but after they are all the same.

Not sure if this is any help, but working through a diagnosis of the program.

@timtensor
Copy link

Hi @noahratliff , just out of curiosity , were you able to run the whole program and export the animation to unity ? I am quite confused comparing the implementation to the original implementation by Arash . Do let me know .

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