diff --git a/example.py b/example.py index 0aa64c1..6457110 100644 --- a/example.py +++ b/example.py @@ -43,23 +43,23 @@ def main(): print(keypoints) betas = torch.randn([1, 10], dtype=torch.float32) - # torch.randn((1, 69), dtype=torch.float32) * 0.7 + # body_pose = torch.randn((1, 69), dtype=torch.float32) * 0.7 body_pose = torch.zeros((1, 69)) # try moving left elbow - body_pose.reshape(23, 3)[17][0] = math.pi / 4 - body_pose.reshape(23, 3)[17][1] = - math.pi / 2 - body_pose.reshape(23, 3)[17][2] = math.pi / 4 + # body_pose.reshape(23, 3)[17][0] = math.pi / 4 + # body_pose.reshape(23, 3)[17][1] = - math.pi / 2 + # body_pose.reshape(23, 3)[17][2] = math.pi / 4 - # right knee - body_pose.reshape(23, 3)[3][0] = math.pi / 4 - body_pose.reshape(23, 3)[3][1] = - math.pi / 2 - body_pose.reshape(23, 3)[3][2] = math.pi / 4 + # # right knee + # body_pose.reshape(23, 3)[3][0] = math.pi / 4 + # body_pose.reshape(23, 3)[3][1] = - math.pi / 2 + # body_pose.reshape(23, 3)[3][2] = math.pi / 4 - # left knee - body_pose.reshape(23, 3)[3][0] = math.pi / 4 - body_pose.reshape(23, 3)[3][1] = - math.pi / 2 - body_pose.reshape(23, 3)[3][2] = math.pi / 4 + # # left knee + # body_pose.reshape(23, 3)[3][0] = math.pi / 4 + # body_pose.reshape(23, 3)[3][1] = - math.pi / 2 + # body_pose.reshape(23, 3)[3][2] = math.pi / 4 # body_pose = torch.from_numpy(keypoints.reshape((1, 69))) print(body_pose) diff --git a/renderer.py b/renderer.py index 733199a..f554164 100644 --- a/renderer.py +++ b/renderer.py @@ -70,7 +70,7 @@ class SMPLyRenderer(): pyrender.Viewer(scene, use_raymond_lighting=True, - show_world_axis=True + # show_world_axis=True ) def display_model( diff --git a/requirements.txt b/requirements.txt index e4554c9..731af44 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,17 +1,36 @@ +astroid @ file:///tmp/build/80754af9/astroid_1592495913683/work autopep8==1.5.4 certifi==2020.12.5 +chumpy==0.70 cycler==0.10.0 dataclasses==0.8 +decorator==4.4.2 +freetype-py==2.2.0 +imageio==2.9.0 +isort @ file:///tmp/build/80754af9/isort_1602603989581/work kiwisolver==1.3.1 +lazy-object-proxy @ file:///tmp/build/80754af9/lazy-object-proxy_1607707326711/work matplotlib==3.3.3 +mccabe==0.6.1 +networkx==2.5 numpy==1.19.5 Pillow==8.1.0 pycodestyle==2.6.0 +pyglet==1.5.14 +pylint @ file:///tmp/build/80754af9/pylint_1598624022510/work +PyOpenGL==3.1.0 pyparsing==2.4.7 +pyrender==0.1.43 python-dateutil==2.8.1 PyYAML==5.3.1 -six==1.15.0 +scipy==1.5.4 +six @ file:///tmp/build/80754af9/six_1605205335545/work smplx==0.1.26 -torch==1.7.1 +toml @ file:///tmp/build/80754af9/toml_1592853716807/work +torch==1.7.1+cu110 torchgeometry==0.1.2 +torchvision==0.8.2+cu110 +trimesh==3.9.1 +typed-ast==1.4.1 typing-extensions==3.7.4.3 +wrapt==1.11.2