Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
learningxiaobai opened this issue Jul 23, 2021 · 11 comments
Open

Comments

@learningxiaobai
Copy link

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

@borninfreedom
Copy link
Owner

borninfreedom commented Jul 23, 2021

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

@learningxiaobai
Copy link
Author

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

@borninfreedom
Copy link
Owner

Python 3.6 is the recommended version for spinning up.

@learningxiaobai
Copy link
Author

do you have other solutions?

@borninfreedom
Copy link
Owner

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

@acezsq
Copy link

acezsq commented Dec 21, 2021

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

@borninfreedom
Copy link
Owner

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

Yeah, you are right. I wrote it wrongly.

@borninfreedom
Copy link
Owner

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

@lzyyy58
Copy link

lzyyy58 commented Nov 3, 2022

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

@lzyyy58
Copy link

lzyyy58 commented Nov 3, 2022

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

@jkasdkjnasjkd
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants