borninfreedom / kuka-reach-drl

Train kuka robot reach a point with deep rl.
GNU General Public License v3.0
162 stars 22 forks source link

TypeError: tuple indices must be integers or slices, not tuple #3

Open learningxiaobai opened 3 years ago

learningxiaobai commented 3 years ago

hello,some error with these codes: self.images = self.images[:, :, : 3] # the 4th channel is alpha channel, we do not need it.

borninfreedom commented 3 years ago

Please use pybullet version 3.1.0, the newest pybullet changed the return values of getCameraImage.

learningxiaobai commented 3 years ago

i saw you recommend the python version is 3.6 in you readme.md ,why they are different?

borninfreedom commented 3 years ago

Python 3.6 is the recommended version for spinning up.

learningxiaobai commented 3 years ago

do you have other solutions?

borninfreedom commented 3 years ago

If you do not want to use spinningup, you can use stable baselines, rllib, tianshou or write from scratch.

acezsq commented 2 years ago

there should be pybullet==3.1.0,not python I think.

borninfreedom commented 2 years ago

there should be pybullet==3.1.0,not python I think.

Yeah, you are right. I wrote it wrongly.

borninfreedom commented 2 years ago

Welcome to the latest version of the code, https://github.com/borninfreedom/drl_robot_grasp

lzyyy58 commented 1 year ago

my pybullet==3.1.0, but i have the problem tuple indices must be integers or slices, not tuple

lzyyy58 commented 1 year ago

Hello, the https://github.com/borninfreedom/drl_robot_grasp can't be opened, can you upload again?Thank you!

jkasdkjnasjkd commented 1 year ago

my pybullet==3.1.0, but i have the problem tuple indices must be integers or slices, not tuple,can you help me?