TypeError: Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py", line 34, in _worker_loop

samples = collate_fn([dataset[i] for i in batch_indices])


 "/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py", line 79, in default_collate

return [default_collate(samples) for samples in transposed]


 "/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py", line 79, in <listcomp>

return [default_collate(samples) for samples in transposed]


 "/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py", line 82, in default_collate

.format(type(batch[0]))))
TypeError: batch must contain tensors, numbers, or lists; found <class 'numpy.int64'>

Traceback (most recent call last):


 "/home/anshuman/venv/lib/python3.8/site-packages/tqdm/std.py", line 1131, in __del__


 "/home/anshuman/venv/lib/python3.8/site-packages/tqdm/std.py", line 1344, in close


 "/home/anshuman/venv/lib/python3.8/site-packages/tqdm/std.py", line 1523, in display


 "/home/anshuman/venv/lib/python3.8/site-packages/tqdm/std.py", line 1134, in __repr__


 "/home/anshuman/venv/lib/python3.8/site-packages/tqdm/std.py", line 1484, in format_dict
TypeError: cannot unpack non-iterable NoneType object
