Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #56

Open
Wenxuming711 opened this issue Jun 11, 2024 · 0 comments
Open

IndexError: list index out of range #56

Wenxuming711 opened this issue Jun 11, 2024 · 0 comments

Comments

@Wenxuming711
Copy link

when i run the demo, the Render has this error
Error: Python: Traceback (most recent call last):
File "/SAM-6D/Render/render_custom_templates.py", line 45, in
scale = get_norm_info(args.cad_path)
File "/SAM-6D/Render/render_custom_templates.py", line 27, in get_norm_info
mesh = trimesh.load(mesh_path,force='mesh',file_type='ply')
File "/root/blender/blender-3.3.1-linux-x64/custom-python-packages/lib/python3.10/site-packages/trimesh/exchange/load.py", line 132, in load
loaded = load_mesh(file_obj,
File "/root/blender/blender-3.3.1-linux-x64/custom-python-packages/lib/python3.10/site-packages/trimesh/exchange/load.py", line 215, in load_mesh
results = loader(file_obj,
File "/root/blender/blender-3.3.1-linux-x64/custom-python-packages/lib/python3.10/site-packages/trimesh/exchange/ply.py", line 99, in load_ply
elements, is_ascii, image_name = _parse_header(file_obj)
File "/root/blender/blender-3.3.1-linux-x64/custom-python-packages/lib/python3.10/site-packages/trimesh/exchange/ply.py", line 415, in _parse_header
if 'element' in line[0]:
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant