MorvanZhou / Reinforcement-learning-with-tensorflow

Simple Reinforcement learning tutorials, 莫烦Python 中文AI教学

Home Page:https://mofanpy.com/tutorials/machine-learning/reinforcement-learning/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

是不是NN的哪里有问题,导致保存trasition时shape出错?

silkyrose opened this issue · comments

store_transition

    self.memory[index, :] = transition

ValueError: could not broadcast input array from shape (26) into shape (32)

    print(self.memory.shape, transition.shape)

打印出来:(10000, 32) (26,)

哪位大侠能提供下解决这一问题的思路?