`(sam6d) goddard@Goddard-Wen:/mnt/c/Users/TT/Desktop/SAM-6D-main/SAM-6D$ sh demo.sh
Warning: Changed install path from /home_local/goddard... to /home/goddard..., there is no /home_local/ on this machine.
Using blender in /home/goddard/blender/blender-3.3.1-linux-x64
Using temporary directory: /dev/shm/blender_proc_dc9eab73c1024ebaa1246e1599794c82
Blender 3.3.1 (hash b292cfe5a936 built 2022-10-05 00:14:35)
/run/user/1000/gvfs/ non-existent directory
Selecting render devices...
Device NVIDIA GeForce GTX 1660 Ti of type CUDA found and used.
Device Intel Core i7-9750H CPU @ 2.60GHz of type CPU found and used.
Error: Python: Traceback (most recent call last):
File "/mnt/c/Users/TT/Desktop/SAM-6D-main/SAM-6D/Render/render_custom_templates.py", line 42, in
scale = get_norm_info(args.cad_path)
File "/mnt/c/Users/TT/Desktop/SAM-6D-main/SAM-6D/Render/render_custom_templates.py", line 24, in get_norm_info
mesh = trimesh.load(mesh_path, force='mesh')
File "/home/goddard/blender/blender-3.3.1-linux-x64/custom-python-packages/lib/python3.10/site-packages/trimesh/exchange/load.py", line 116, in load
) = parse_file_args(file_obj=file_obj,
File "/home/goddard/blender/blender-3.3.1-linux-x64/custom-python-packages/lib/python3.10/site-packages/trimesh/exchange/load.py", line 630, in parse_file_args
raise ValueError('string is not a file: {}'.format(file_obj))
ValueError: string is not a file: Data/Example/obj_000005.ply
Error: script failed, file: 'render_custom_templates.py', exiting.
Cleaning temporary directory
/home/goddard/anaconda3/envs/sam6d/lib/python3.9/site-packages/hydra/_internal/defaults_list.py:251: UserWarning: In 'ISM_sam.yaml': Defaults list is missing _self_. See https://hydra.cc/docs/1.2/upgrades/1.0_to_1.1/default_composition_order for more information
warnings.warn(msg, UserWarning)
`
尝试运行代码的时候出现如上错误,我觉得是因为图片没被成功使用所以后面的ISM_sam.yaml才会报错,但是图片为什么没有被成功使用
`(sam6d) goddard@Goddard-Wen:/mnt/c/Users/TT/Desktop/SAM-6D-main/SAM-6D$ sh demo.sh Warning: Changed install path from /home_local/goddard... to /home/goddard..., there is no /home_local/ on this machine. Using blender in /home/goddard/blender/blender-3.3.1-linux-x64 Using temporary directory: /dev/shm/blender_proc_dc9eab73c1024ebaa1246e1599794c82 Blender 3.3.1 (hash b292cfe5a936 built 2022-10-05 00:14:35) /run/user/1000/gvfs/ non-existent directory Selecting render devices... Device NVIDIA GeForce GTX 1660 Ti of type CUDA found and used. Device Intel Core i7-9750H CPU @ 2.60GHz of type CPU found and used. Error: Python: Traceback (most recent call last): File "/mnt/c/Users/TT/Desktop/SAM-6D-main/SAM-6D/Render/render_custom_templates.py", line 42, in
scale = get_norm_info(args.cad_path)
File "/mnt/c/Users/TT/Desktop/SAM-6D-main/SAM-6D/Render/render_custom_templates.py", line 24, in get_norm_info
mesh = trimesh.load(mesh_path, force='mesh')
File "/home/goddard/blender/blender-3.3.1-linux-x64/custom-python-packages/lib/python3.10/site-packages/trimesh/exchange/load.py", line 116, in load
) = parse_file_args(file_obj=file_obj,
File "/home/goddard/blender/blender-3.3.1-linux-x64/custom-python-packages/lib/python3.10/site-packages/trimesh/exchange/load.py", line 630, in parse_file_args
raise ValueError('string is not a file: {}'.format(file_obj))
ValueError: string is not a file: Data/Example/obj_000005.ply
Error: script failed, file: 'render_custom_templates.py', exiting. Cleaning temporary directory /home/goddard/anaconda3/envs/sam6d/lib/python3.9/site-packages/hydra/_internal/defaults_list.py:251: UserWarning: In 'ISM_sam.yaml': Defaults list is missing
_self_
. See https://hydra.cc/docs/1.2/upgrades/1.0_to_1.1/default_composition_order for more information warnings.warn(msg, UserWarning) ` 尝试运行代码的时候出现如上错误,我觉得是因为图片没被成功使用所以后面的ISM_sam.yaml才会报错,但是图片为什么没有被成功使用