qLience:

return map(lambda x: Variable(torch.cat(x, 0)), samples)


From the error message it sounds like the output of torch.cat(x, 0) is a Variable. You shouldn’t be wrapping that within another Variable.