Closed mcginley182 closed 4 years ago
Hi,
Can you check why output[0] has a shape of torch.Size([])
?
Maybe you can put debug command or logging or print after this 156 gen_cost = gen_cost.mean()
to see why it has size of 0
To Resolve this issue, one = torch.FloatTensor([1])
needs to be changed to one = torch.tensor(1, dtype=torch.float)
great! which torch version are you using?
I am trying to upload my own dataset (64x64). When running the code I get the following: `RuntimeError Traceback (most recent call last)