MarilynKeller / OSSO

From a body shape, infer the anatomic skeleton.
Other
210 stars 32 forks source link

use my own SMPL ply file get error #7

Closed Holmes-Alan closed 1 year ago

Holmes-Alan commented 1 year ago

I use my image to genera a SMPL 3D model for inference as,

_python main.py --mesh_input data/demo/imghmr.obj --gender male -D -v

However, I got the error as follows,

Traceback (most recent call last): File "main.py", line 63, in register_star(skin_mesh_path, star_mesh_path, star_pkl_path, gender, display=display, verbose=verbose) File "/home/gtm/zsliu/OSSO/osso/utils/star_registration.py", line 30, in register_star skin_mesh = Mesh(filename=skin_mesh_path) File "/home/gtm/miniconda3/envs/osso/lib/python3.8/site-packages/psbody/mesh/mesh.py", line 67, in init self.load_from_file(filename) File "/home/gtm/miniconda3/envs/osso/lib/python3.8/site-packages/psbody/mesh/mesh.py", line 461, in load_from_file serialization.load_from_file(self, filename) File "/home/gtm/miniconda3/envs/osso/lib/python3.8/site-packages/psbody/mesh/serialization/serialization.py", line 416, in load_from_file self.load_from_obj_cpp(filename) File "/home/gtm/miniconda3/envs/osso/lib/python3.8/site-packages/psbody/mesh/mesh.py", line 486, in load_from_obj_cpp serialization.load_from_obj_cpp(self, filename) File "/home/gtm/miniconda3/envs/osso/lib/python3.8/site-packages/psbody/mesh/serialization/serialization.py", line 98, in load_from_obj_cpp from .loadobj import loadobj ImportError: numpy.core.multiarray failed to import