MotionGPT icon indicating copy to clipboard operation
MotionGPT copied to clipboard

trajectory = trajectory - trajectory[..., 0, :] IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

Open hdjsjyl opened this issue 2 years ago • 6 comments

Hi author, while doing rendering, it shows the error: trajectory = trajectory - trajectory[..., 0, :] IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed Any help would be appreciated, thanks!

hdjsjyl avatar Sep 18 '23 05:09 hdjsjyl

Having this issue as well, but only when I try to use the 300 component smpl mesh. It was working with the 16 component mesh.

quietscientist avatar Sep 19 '23 13:09 quietscientist

In my case the solution was to set the correct model paths in assets.yaml - it's working correctly now

quietscientist avatar Sep 19 '23 14:09 quietscientist

hi @quietscientist , Would I get the parameter in the assets.yaml? Which model path? Thanks your help.

hdjsjyl avatar Sep 20 '23 20:09 hdjsjyl

Hi, @quietscientist I would like to know if the SMPL for 300 components was downloaded from the SMPL official website, and if it provides Blender and Python 2.7, is it a Python 2.7 version of the 300 component

aooliver avatar Dec 12 '23 07:12 aooliver

I used .NPY files from other projects that owner mentioned in README, and they can work now. There may be problems with the directly generated NPY files by app.py.

aooliver avatar Dec 13 '23 08:12 aooliver

Maybe it's because a .npy file representing a sequence of text tokens is rendered. When I rendered the .npy files that end with 'out.npy', this error was no longer existed.

OrigamiStationery avatar Dec 25 '23 09:12 OrigamiStationery