Open RuifMaxx opened 3 years ago
When load the data from the dataloader, the dim is transposed: data = Variable(data.squeeze().transpose(0, 1)).to(device) So in model.py line 82
data = Variable(data.squeeze().transpose(0, 1)).to(device)
for t in range(x.size(0)): phi_x_t = self.phi_x(x[t])
the size of phi_x_t is ( batch_size, h_dim ), is that correct ?
When load the data from the dataloader, the dim is transposed:
data = Variable(data.squeeze().transpose(0, 1)).to(device)
So in model.py line 82the size of phi_x_t is ( batch_size, h_dim ), is that correct ?