Traceback (most recent call last):

 "C:\Users\mjkam\.conda\envs\PyTorch-0\lib\logging\__init__.py", line 1084, in emit
stream.write(msg + self.terminator)AttributeError: 'NoneType' object has no attribute 'write'
TypeError: Traceback (most recent call last):


 "/home/wh/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 138, in _worker_loop

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


 "/home/wh/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 232, in default_collate

return [default_collate(samples) for samples in transposed]


 "/home/wh/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 232, in <listcomp>

return [default_collate(samples) for samples in transposed]


 "/home/wh/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 234, in default_collate

raise TypeError((error_msg.format(type(batch[0]))))
TypeError: batch must contain tensors, numbers, dicts or lists; found <class 'maskrcnn_benchmark.structures.bounding_box.BoxList'>
