ypeError: action() takes 3 positional arguments but 4 were given
I can suceessfully run in PyRep, but when i run RLBench, it crashed. Why?
root@autodl-container-bf2c4487e6-930da208:/mnt/nas-a6000/hanyangyu/projects/robot/RLBench# python ./examples/single_task_rl.py
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Reset Episode
['reach the red target', 'touch the red ball with the panda gripper', 'reach the red sphere']
[ 0.04562055 -0.0573288 0.04520147 0.05530244 0.0132626 -0.12701392
0.03001259 1. ]
Traceback (most recent call last):
File "./examples/single_task_rl.py", line 42, in
xvfb-run -a python ./examples/imitation_learning.py
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Traceback (most recent call last):
File "./examples/imitation_learning.py", line 39, in
I also meet the same problem when running examples, have you solved it yet ?
I fix this problem by modify line 35 in rlbench/action_modes/action_mode.py to self.arm_action_mode.action(scene, arm_action). It seems work now.