-
Notifications
You must be signed in to change notification settings - Fork 11
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
Wrong orientation? #2
Comments
I unfortunately may not be helpful to provide support for the STAR model as I have not used it before. Maybe you can contact the authors of the paper. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, I have been trying out combining the SURREACT dataset with the STAR model and can not seem to get satisfying results. From what I can see this is very similar to the problem described here: gulvarol/surreal#10 (comment)
However, I implemented the code regarding the rotation and still the generated meshes seems to have the wrong orientation. Tested this with a number of different examples but the rotation always seems to be off (without me being able to notice any similarity in the way they are oriented). Included the used code below, would appreciate any kind of help on this matter.
import math
from star.pytorch.star import STAR
import numpy as np
import torch
import open3d
import scipy.io
import transforms3d
def rotateBody(RzBody, pelvisRotVec):
num_betas=10
batch_size=1
m = STAR(gender='male',num_betas=num_betas)
mat = scipy.io.loadmat('/SURREACT_DATA/a37_d1_p019_c1_color.avi_v225_r00_info.mat')
betas = torch.cuda.FloatTensor(mat['shape'])
trans = torch.cuda.FloatTensor(np.zeros((batch_size, 3)))
max_frame = torch.cuda.FloatTensor(mat['joints3D']).shape[2]
for x in range(0, max_frame+1, 2):
The text was updated successfully, but these errors were encountered: