xukechun / Efficient_goal-oriented_push-grasping_synergy

[RAL & IROS 2021] Efficient learning of goal-oriented push-grasping synergy in clutter
59 stars 10 forks source link

IndexError: list index out of range #14

Open LeeChiAnn opened 8 months ago

LeeChiAnn commented 8 months ago

你好,我复现代码的时候总是报这个错误: 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环境的问题?

Chenyingray commented 4 months ago

请问你解决这个问题了吗,我在训练过程中也频繁遇到

LeeChiAnn commented 2 months ago

请问你解决这个问题了吗,我在训练过程中也频繁遇到

你好,不好意思,刚刚看到。问题已经解决啦,但是改了好多代码已经不知道改哪儿啦,好久没看。 这个仿真训练特别耗时间,因为搜索的空间实在是太大啦。可以看看其他仿真环境