Skip to content

"IndexError: index 1279 is out of bounds for axis 0 with size 1267" when runningsample_obj.py #3

Open
@bowieshi

Description

@bowieshi

Hi. Thanks for the great work! I am trying to process the dataset. I am running the code python process/sample_obj.py and met the following error. It seems your provided samp_ids npy file in assets directory has id larger than mesh file total vertices number.

Traceback (most recent call last):
  File "process/sample_obj.py", line 16, in <module>
    obj_points = obj_verts[sample_ids]
IndexError: index 1279 is out of bounds for axis 0 with size 1267

Could you tell me how can I address this? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions