Operation error
ValueError Traceback (most recent call last)
/wangjin_fix/student_space/sw/Deep-Time-Series-Prediction-master/deepseries/train.py in fit(self, max_epochs, train_dl, valid_dl, early_stopping, patient, start_save) 68 self.model.train() 69 train_loss = 0 ---> 70 for j, (x, y) in enumerate(train_dl): 71 self.optimizer.zero_grad() 72 loss = self.model.batch_loss(x, y)
ValueError: too many values to unpack (expected 2)
Hello,I got the same problem.Have you sovled this problem? thx !!!
I also encountered the same problem. Who knows what the problem is?
try for j, (x, y, _) in enumerate(train_dl):