If you meet this error, you can solve it as follows. First, find your source code of torch.util.data.Dataloader,  Then, modified the "dataloader.py" as follows, 