Torch.utils.data.dataloader Outputs Typeerror: 'module' Object Is Not Callable
So im trying to learn pytorch and i got this code from a tutorial and its just there to import a mnist dataset but it outputs 'TypeError: 'module' object is not callable' In the tu
Solution 1:
It's neither dataloader
nor Dataloader
but DataLoader
:)
Side-note: if you're new to PyTorch, consider using the newest version 1.0. torch.autograd.Variable
is deprecated as of PyTorch 0.4.1 (I believe) so you're either using an older version of PyTorch or an outdated tutorial.
Post a Comment for "Torch.utils.data.dataloader Outputs Typeerror: 'module' Object Is Not Callable"