There is comprehensive document on DataLoader… You can’t just pass in something without seeing what its inputs are and expect it to work. http://pytorch.org/docs/0.2.0/data.html#torch.utils.data.DataLoader 260