When i run demo_sim_Erender.py,I got the wrong:
Traceback (most recent call last):
File "d:\code\CV\CNS\demo_sim_Erender.py", line 79, in <module>
run_demo()
File "d:\code\CV\CNS\demo_sim_Erender.py", line 40, in run_demo
tar_img = env.init(i) # uint8, bgr image
File "d:\code\CV\CNS\cns\benchmark\environment.py", line 110, in init
frame = self.camera.render(target_cwT, self.client)
File "d:\code\CV\CNS\cns\utils\perception.py", line 112, in render
rgb, z_buffer = np.ascontiguousarray(result[2][:, :, :3]), result[3]
TypeError: tuple indices must be integers or slices, not tuple
I have print the result[2],it's a tuple。
I dont’t konw how to solve it.
When i run
demo_sim_Erender.py,I got the wrong:I have print the result[2],it's a tuple。
I dont’t konw how to solve it.