ikostrikov / pytorch-a3c

PyTorch implementation of Asynchronous Advantage Actor Critic (A3C) from "Asynchronous Methods for Deep Reinforcement Learning".
MIT License
1.23k stars 279 forks source link

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

Open JingYuPrime opened 1 year ago

JingYuPrime commented 1 year ago

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一直找不到原因,可以帮忙看一下是哪里的问题吗?