Skip to content

Commit

Permalink
update x_mark embedding
Browse files Browse the repository at this point in the history
  • Loading branch information
weiming.wsy committed Apr 17, 2024
1 parent 032706f commit c6cdf82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exp/exp_long_term_forecasting.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def vali(self, vali_data, vali_loader, criterion):
with torch.no_grad():
for i, (batch_x, batch_y, batch_x_mark, batch_y_mark) in enumerate(vali_loader):
batch_x = batch_x.float().to(self.device)
batch_y = batch_y.float()
batch_y = batch_y.float().to(self.device)

batch_x_mark = batch_x_mark.float().to(self.device)
batch_y_mark = batch_y_mark.float().to(self.device)
Expand Down

0 comments on commit c6cdf82

Please sign in to comment.