你好,我复现代码的时候总是报这个错误:
IndexError: list index out of range (训练过程)
具体报错如下:
Traceback (most recent call last):
File "/media/lee/Code/ubuntu_papercode/Efficient_goal-oriented_push-grasping_synergy-main/main.py", line 798, in
main(args)
File "/media/lee/Code/ubuntu_papercode/Efficient_goal-oriented_push-grasping_synergy-main/main.py", line 683, in main
obj_contour = robot.get_obj_mask(nonlocal_variables['goal_obj_idx'])
File "/media/lee/Code/ubuntu_papercode/Efficient_goal-oriented_push-grasping_synergy-main/robot.py", line 284, in get_obj_mask
sim_ret, obj_position = vrep.simxGetObjectPosition(self.sim_client, self.object_handles[obj_ind], -1, vrep.simx_opmode_blocking)
IndexError: list index out of range
你好,我复现代码的时候总是报这个错误: IndexError: list index out of range (训练过程)
具体报错如下: Traceback (most recent call last): File "/media/lee/Code/ubuntu_papercode/Efficient_goal-oriented_push-grasping_synergy-main/main.py", line 798, in
main(args)
File "/media/lee/Code/ubuntu_papercode/Efficient_goal-oriented_push-grasping_synergy-main/main.py", line 683, in main
obj_contour = robot.get_obj_mask(nonlocal_variables['goal_obj_idx'])
File "/media/lee/Code/ubuntu_papercode/Efficient_goal-oriented_push-grasping_synergy-main/robot.py", line 284, in get_obj_mask
sim_ret, obj_position = vrep.simxGetObjectPosition(self.sim_client, self.object_handles[obj_ind], -1, vrep.simx_opmode_blocking)
IndexError: list index out of range
请问这是仿真的错误吗?还是conda环境的问题?