Traceback (most recent call last):
File “train.py 5”, line 55, in 
for iteration, batch in enumerate(data_loader):
File “/home/vishal/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py”, line 251, in iter
return DataLoaderIter(self)
File “/home/vishal/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py”, line 103, in init
self.sample_iter = iter(self.sampler)
File “/home/vishal/anaconda3/lib/python3.6/site-packages/torch/utils/data/sampler.py”, line 50, in iter
return iter(torch.randperm(self.num_samples).long())
RuntimeError: must be strictly positive at /home/soumith/local/builder/wheel/pytorch-src/torch/lib/TH/generic/THTensorMath.c:1473
Exception ignored in: <bound method DataLoaderIter.del of <torch.utils.data.dataloader.DataLoaderIter object at 0x7fc28cc66898>>
Traceback (most recent call last):
File “/home/vishal/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py”, line 212, in del
self._shutdown_workers()
File “/home/vishal/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py”, line 204, in _shutdown_workers
if not self.shutdown:
AttributeError: ‘DataLoaderIter’ object has no attribute ‘shutdown’