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 #78

Open
JingYuPrime opened this issue May 4, 2023 · 0 comments
Open

Comments

@JingYuPrime
Copy link

Process w10:
Traceback (most recent call last):
File "D:\Software\Industrial\Anaconda\lib\multiprocessing\process.py", line 315, in _bootstrap
self.run()
File "D:\AICodeFile\pytorch-A3C-master\continuous_A3C.py", line 89, in run
a = self.lnet.choose_action(v_wrap(s[None ,: ]))
TypeError: tuple indices must be integers or slices, not tuple

你好,我尝试运行您的代码之后显示错误TypeError: tuple indices must be integers or slices, not tuple一直找不到原因,可以帮忙看一下是哪里的问题吗?

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

1 participant