EternalFeather / Transformer-in-generating-dialogue

An Implementation of 'Attention is all you need' with Chinese Corpus
Apache License 2.0
129 stars 40 forks source link

TypeError: Failed to convert object of type <class 'list'> to Tensor. Contents: [None, 1]. Consider casting elements to a supported type. #9

Closed Ailing-Zou closed 4 years ago

Ailing-Zou commented 4 years ago

I have seen previous same issue. image

However, the author has changed some codes. image It seems that this process has been changed already.