basic test

This commit is contained in:
2023-02-03 11:35:48 +00:00
parent 104a892e15
commit ceadca02e3
4 changed files with 24 additions and 6 deletions
+17
View File
@@ -0,0 +1,17 @@
import os
os.environ["CUDA_VISIBLE_DEVICES"] = '6'
import numpy as np
from smpl_tf import SMPL
if __name__ == '__main__':
smpl_tf : SMPL = SMPL('model_files')
betas = np.zeros((1, 11), dtype=np.float32)
poses = np.zeros((1, 72), dtype=np.float32)
R = smpl_tf.run_rodrigues(poses)
posed = smpl_tf.run(R, betas)
pass