Traceback (most recent call last):


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

main()


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

meta=meta)


 "/home/jsj201-2/mount1/lxy/CDeCNet/mmdet/apis/train.py", line 179, in train_detector

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


 "/home/jsj201-2/.conda/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 122, inrun

epoch_runner(data_loaders[i], **kwargs)


 "/home/jsj201-2/.conda/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 27, in train

for i, data_batch in enumerate(data_loader):


 "/home/jsj201-2/.conda/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 345, in __next__

data = self._next_data()


 "/home/jsj201-2/.conda/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 856, in _next_data

return self._process_data(data)


 "/home/jsj201-2/.conda/envs/open-mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 881, in _process_data

data.reraise()


 "/home/jsj201-2/.conda/envs/open-mmlab/lib/python3.7/site-packages/torch/_utils.py", line 394, in reraise

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

Traceback (most recent call last):


 "hg-fast-export.py", line 711, in <module>

plugins=plugins_dict))


 "hg-fast-export.py", line 527, in hg2git

if not verify_heads(ui,repo,heads_cache,force,branchesmap):


 "hg-fast-export.py", line 480, in verify_heads

sanitized_name=sanitize_name(b,"branch",branchesmap)


 "hg-fast-export.py", line 270, in sanitize_name

n=p.sub(b'_', n)
TypeError: cannot use a bytes pattern on a string-like object
