ST-TR
ST-TR copied to clipboard
hi,Chiaraplize,I had the following problem when I was running the code.
Traceback (most recent call last):
File "code/main.py", line 973, in
Then I tried to output the training dataset:<torch.utils.data.dataloader.DataLoader object at 0x0000025C9B030CD0> Train size: 10023
I hope you can help me solve this problem. Thanks.
Hi,
You can delete the following instruction: if self.mirroring and bool(torch.bernoulli((0.5) * torch.ones(1))):
since we are not using the self.mirroring attribute.
Chiara
Hi ,chiaraplizz,When I delete the instruction,it shows Pytorch TypeError: batch must contain tensors, numbers, dicts or lists….find nontype
Hi ,chiaraplizz,When I delete the instruction,it shows Pytorch TypeError: batch must contain tensors, numbers, dicts or lists….find nontype