You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I want to get the smpl_pose so that I can export fbx by EDGE. Actually, the smpl_pose is the global_orient+body_pose, and I have noticed that we can obtain this data from the joint2smpl module.
Here is the detail:
path: .visualize/simplify_loc2rot.py
I tried to smpl render by `./visualize/render_mesh.py`.
I modified the script and the `quickstart.ipynb` to ensure the code works.
Here is the modified `./visualize/render_mesh.py`:
import argparse
import os
from visualize import vis_utils
import shutil
from tqdm import tqdm
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument("--input_path", type=str, required=True, help='stick figure mp4 file to be rendered.')
parser.add_argument("--cuda", type=bool, default=True, help='')
parser.add_argument("--device", type=int, default=0, help='')
params = parser.parse_args()
sample_i, rep_i = 0, 0
npy_path = os.path.join(params.input_path, 'results.npy')
npy2obj = vis_utils.npy2obj(npy_path, sample_i, rep_i,
device=params.device, cuda=params.cuda)
There are some other dependencies, you can easily get them from PriorMDM(just copy some directories)
I added the following at the end of quickstart.ipynb:
Finally, I executed the following command: python -m visualize.render_mesh --input_path ./myoutput
and I saved the new_opt_pose. I can convert it to a fbx file. But I found the motion is abnormal. I also tried other Algorithems. Such as stmc, Lodge, and PriorMDM. Stmc and Lodge are normal, which can export the fbx file with correct motion.
Why the smpl_pose exported by SATO or PriorMDM is abnormal?
The text was updated successfully, but these errors were encountered:
Hi,
I want to get the smpl_pose so that I can export fbx by EDGE. Actually, the smpl_pose is the global_orient+body_pose, and I have noticed that we can obtain this data from the
joint2smpl
module.Here is the detail:
path:
.visualize/simplify_loc2rot.py
The variable
new_opt_pose
is the smpl_pose.There are some other dependencies, you can easily get them from PriorMDM(just copy some directories)
I added the following at the end of
quickstart.ipynb
:Finally, I executed the following command:
python -m visualize.render_mesh --input_path ./myoutput
and I saved the
new_opt_pose
. I can convert it to a fbx file. But I found the motion is abnormal. I also tried other Algorithems. Such as stmc, Lodge, and PriorMDM. Stmc and Lodge are normal, which can export the fbx file with correct motion.Why the smpl_pose exported by SATO or PriorMDM is abnormal?
The text was updated successfully, but these errors were encountered: