Colin97 / OpenShape_code

official code of “OpenShape: Scaling Up 3D Shape Representation Towards Open-World Understanding”
https://colin97.github.io/OpenShape/
Apache License 2.0
236 stars 16 forks source link

Bug in Huggingface Demo #24

Open MathewCrespo opened 5 months ago

MathewCrespo commented 5 months ago

When uploading the demo/owl.ply file into the online demo, an error occurred: support/snapshots/70dbc29fa30520cb78b4982de671f90600c08685/openshape/demo/misc_utils.py", line 97, in trimesh_to_pc assert isinstance(scene_or_mesh, trimesh.Trimesh) AssertionError

I found out that the data pipeline in the demo only supports non-colored point cloud in the trimesh_to_pc function. Maybe you can modify this function in the demo to support a wider range of input file?