Char-RNN-PyTorch icon indicating copy to clipboard operation
Char-RNN-PyTorch copied to clipboard

使用PyTorch实现Char RNN生成古诗和周杰伦的歌词

Results 3 Char-RNN-PyTorch issues
Sort by recently updated
recently updated
newest added

运行到score, _ = model(x)时,出错,不知道是什么原因呢?TypeError: gru() received an invalid combination of arguments - got (Tensor, Tensor, list, float, int, float, bool, bool, bool), but expected one of: * (Tensor data, Tensor...

` loss = self.criterion(score, y)`是不是应该写成`loss = criterion(score, y.view(-1))`啊