Traceback (most recent call last):


 "./tools/train.py", line 125, in <module>

main()


 "./tools/train.py", line 121, in main

timestamp=timestamp)


 "/home/hs/hao/contextnet/ctfpnres/mmdet/apis/train.py", line 125, in train_detector

timestamp=timestamp)


 "/home/hs/hao/contextnet/ctfpnres/mmdet/apis/train.py", line 272, in _dist_train

runner.run(data_loaders, cfg.workflow, cfg.total_epochs)


 "/home/hs/anaconda3/lib/python3.7/site-packages/mmcv/runner/runner.py", line 363, in run

epoch_runner(data_loaders[i], **kwargs)


 "/home/hs/anaconda3/lib/python3.7/site-packages/mmcv/runner/runner.py", line 263, in train

for i, data_batch in enumerate(data_loader):


 "/home/hs/anaconda3/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 819, in __next__

return self._process_data(data)


 "/home/hs/anaconda3/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 846, in _process_data

data.reraise()


 "/home/hs/anaconda3/lib/python3.7/site-packages/torch/_utils.py", line 369, in reraise

raise self.exc_type(msg)
ValueError: Caught ValueError in DataLoader worker process 0.

`Traceback (most recent call last):

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

 "C:\Python38\lib\site-packages\PIL\Image.py", line 2100, in save
self._ensure_mutable()

 "C:\Python38\lib\site-packages\PIL\Image.py", line 617, in _ensure_mutable
self._copy()

 "C:\Python38\lib\site-packages\PIL\Image.py", line 610, in _copy
self.load()

 "C:\Python38\lib\site-packages\PIL\Image
.py", line 262, in load
self.load_end()

 "C:\Python38\lib\site-packages\PIL\PngImagePlugin.py", line 921, in load_end
self._prev_im.paste(dispose, self.dispose_extent)
ValueError: images do not match
`

