Giter Club home page Giter Club logo

smpl-scene-viewer's Issues

Array size mismatch: SMPL-Scene-Viewer/smpl/smpl.py, line 161

Hi, I tried running your visualizer with smpl_sample.pkl, following the README. However, I encounter a runtime error when opening the file:

File "SMPL-Scene-Viewer/smpl/smpl.py", line 161, in forward
v_posed = v_shaped + torch.matmul(posedirs, lrotmin[:, :, None]).view(-1, 6890, 3)
RuntimeError: The size of tensor a (30720) must match the size of tensor b (1024) at non-singleton dimension 0

The error occurs due to the mismatch in size during addition:

  • posedirs: torch.Size([1024, 20670, 207])
  • lrotmin[:, :, None]: torch.Size([1024, 207])
  • torch.matmul(posedirs, lrotmin[:, :, None]): torch.Size([1024, 20670, 1]), cannot be reshaped in torch.Size([30720, 6890, 3])
  • v_shaped: torch.Size([30720, 6890, 3])

Can you provide me any information on how I can fix this error?
Is it possible that the error occurs due to the V1.1.0 release of the SMPL model? (I had to rename the files in order to make them compatible)

Many thanks for considering my request.

Kind regards,

Guido

can not open PKL document.

I can not open PKL document.

I can run GUI_Tools.py directly, but can not open PKL document of AMASS dataset.
the link can open here:

https://drive.google.com/drive/folders/1pKp-C7jUtkgCG2X6dO3_6ee0poHqFPX-

The bug is here:

r/SMPL-Scene-Viewer$ python GUI_Tools.py
FEngine (64 bits) created at 0x558e3345c320 (threading is enabled)
FEngine resolved backend: OpenGL
Loading scene from /home/ubuntu/HumanoidData/SMPL-Scene-Viewer/SMPL-Scene-Viewer/smpl/sample.ply
====> Scene loading comsumed 0.0 s.
[Open3D INFO] [o3d] name: ATUSquat_sync.pkl.
Traceback (most recent call last):
File "/home/ubuntu/HumanoidData/SMPL-Scene-Viewer/SMPL-Scene-Viewer/gui_vis/human_data.py", line 189, in load
self.humans = data_loader.load_pkl(filename)
File "/home/ubuntu/HumanoidData/SMPL-Scene-Viewer/SMPL-Scene-Viewer/util/load_data.py", line 386, in load_pkl
dets = pkl.load(f)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 3: ordinal not in range(128)
Segmentation fault (core dumped)

can you help me to visualize it,thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.