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

the body of Text Motion render result is opposite #11

Open
Zessay opened this issue Sep 9, 2022 · 5 comments
Open

the body of Text Motion render result is opposite #11

Zessay opened this issue Sep 9, 2022 · 5 comments

Comments

@Zessay
Copy link

Zessay commented Sep 9, 2022

I test the text_motion script according to the readme, but the body in the render result is opposite. I don't modify any config and have no idea whether it is normal.

image

@Zessay Zessay changed the title Text Motion Render result with wrong axis the body of Text Motion render result is opposite Sep 9, 2022
@GuyTevet
Copy link
Owner

Hi @Zessay ! What dataset did you use? please share the cmd you run to produce this result.

@Zessay
Copy link
Author

Zessay commented Sep 13, 2022

Hi @Zessay ! What dataset did you use? please share the cmd you run to produce this result.

Hi, I use the pretrained model in the readme and just test with the given command line

python -m src.visualize.text2motion ./exps/paper-model/checkpoint_0100.pth.tar --input_file assets/paper_texts.txt

@larsh0103
Copy link

larsh0103 commented Sep 19, 2022

I had the same issue, and I suppose its due to some miss match between data formats. There is a hack in anim.py that solves this issue, it did for me anyway, just uncomment line 105 and 106 # # invert axis
motion[:, 1, :] = -motion[:, 1, :]
motion[:, 2, :] = -motion[:, 2, :]
# this hack is not needed for amass

@Zessay
Copy link
Author

Zessay commented Sep 22, 2022

Thanks! This is what I did 😄

@ywdong
Copy link

ywdong commented Mar 21, 2023

@larsh0103 Thx your tips! Do u know how to render the image from the text-to-emotion script?

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

4 participants