Traceback (most recent call last):


 "train.py", line 532, in <module>

train(hyp, opt, device, tb_writer, wandb)


 "train.py", line 297, in train

pred = model(imgs)
# forward


 "/home/dhh135246/anaconda3/envs/pytorch1.7.0-gpu/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)


 "/home/dhh135246/anaconda3/envs/pytorch1.7.0-gpu/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 161, in forward

outputs = self.parallel_apply(replicas, inputs, kwargs)


 "/home/dhh135246/anaconda3/envs/pytorch1.7.0-gpu/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 171, in parallel_apply

return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])


 "/home/dhh135246/anaconda3/envs/pytorch1.7.0-gpu/lib/python3.8/site-packages/torch/nn/parallel/parallel_apply.py", line 86, in parallel_apply

output.reraise()


 "/home/dhh135246/anaconda3/envs/pytorch1.7.0-gpu/lib/python3.8/site-packages/torch/_utils.py", line 428, in reraise

raise self.exc_type(msg)
TypeError: __init__() missing 3 required positional arguments: 'source', 'name', and 'options'

Traceback (most recent call last):


 "<string>", line 1, in <module>


 "<frozen importlib._bootstrap>", line 1033, in _handle_fromlist
TypeError: Item in ``from list'' must be str, not NoneType
