xuehy / pytorch-maddpg

A pytorch implementation of MADDPG (multi-agent deep deterministic policy gradient)
605 stars 122 forks source link

type error #11

Closed Ayeliauk closed 5 years ago

Ayeliauk commented 5 years ago

Thank you for your codes. I met this error: non_final_next_actions.view(-1, self.n_agents * self.n_actions) TypeError: can't assign a tuple to a torch.cuda.FloatTensor