You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SequenceLoader seems to only work when the size of the input is 1. I seem to get errors with the following line:
self.data = sequence:sub(1,seqlen2*batchsize):view(batchsize, seqlen2):t():contiguous()
In particular, view does not work because of the missing data size. Is there a quick fix?
The text was updated successfully, but these errors were encountered:
SequenceLoader works fine for me. It works with sequential data, for example torch.IntTensor of size 188946, notice no additional dimensions here. Check your input dims first, if it is different, you'll have to implement something custom, concretely you'll need to modify the last line for self.data var in SequenceLoader.__init function.
SequenceLoader seems to only work when the size of the input is 1. I seem to get errors with the following line:
self.data = sequence:sub(1,seqlen2*batchsize):view(batchsize, seqlen2):t():contiguous()
In particular, view does not work because of the missing data size. Is there a quick fix?
The text was updated successfully, but these errors were encountered: