I get this with Python3.6, Pytorch 0.4.1 on a Mac.
I’ve tried looking at every issue and Google result.  There aren’t really any solutions. that weren’t related to bugs in previous versions.  Can someone help me here?
Here’s the line of code raising this:
self.state[next_index] = torch.from_numpy(col_data)
also tried:
self.state[next_index] = torch.tensor(col_data)
Exact error: RuntimeError: expand(torch.DoubleTensor{[999]}, size=[]): the number of sizes provided (0) must be greater or equal to the number of dimensions in the tensor (1)