I think I have a simple error, but not sure how to fix it. How do I convert this into a sequence ? Im not sure what kind of type this is
I construct my own tensor like so:
        mini_ts = torch.IntTensor(128,3,40,40)
        for ii,image in enumerate(images):
            mini_ts[ii] = mini_transform(image)
        mini_ts = to_var(mini_ts.view(128,-1),volatile=True)
        print(mini_ts.size())

Here is the error I get:
TypeError: cat received an invalid combination of arguments - got (tuple, int), but expected one of:

(sequence[torch.cuda.IntTensor] seq)
(sequence[torch.cuda.IntTensor] seq, int dim)
didn’t match because some of the arguments have invalid types: (tuple, int)