JiehongLin / SAM-6D

[CVPR2024] Code for "SAM-6D: Segment Anything Model Meets Zero-Shot 6D Object Pose Estimation".
373 stars 32 forks source link

IndexError: list index out of range #56

Open Wenxuming711 opened 5 months ago

Wenxuming711 commented 5 months ago

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