mikeizbicki / cmc-csci181-deeplearning

deep learning course materials
15 stars 6 forks source link

ValueError: not enough values to unpack (expected 2, got 1) #16

Closed raequan closed 4 years ago

raequan commented 4 years ago

I am having an error when I attempt to train that I don't think I understand. From what I gathered online, it has something to do with how data may be formatted?

The error says "ValueError: not enough values to unpack (expected 2, got 1)" when I do the following line: output,output_nextchars = model(line_tensor)

I FIXED IT BY JUST CHANGING THE LINE IT WAS WRITTEN ON.