Traceback (most recent call last):


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

multi_scale=opt.multi_scale,


 "train.py", line 168, in train

for i, (imgs, targets, _, _) in enumerate(dataloader):


 "/home/rencong/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 582, in __next__

return self._process_next_batch(batch)


 "/home/rencong/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 608, in _process_next_batch

raise batch.exc_type(batch.exc_msg)
RuntimeError: Traceback (most recent call last):

Traceback (most recent call last):


 "C:\Users\Henrik\AppData\Local\Programs\Python\Python37\lib\tkinter\__init__.py", line 3507, in __del__

self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
