Traceback (most recent call last):


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

main()


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

datasets = [build_dataset(cfg.data.train)]


 "/home/fulei/mmdetection/mmdet/datasets/builder.py", line 35, in build_dataset

build_dataset(cfg['dataset'], default_args), cfg['times'])


 "/home/fulei/mmdetection/mmdet/datasets/builder.py", line 37, in build_dataset

dataset = _concat_dataset(cfg, default_args)


 "/home/fulei/mmdetection/mmdet/datasets/builder.py", line 25, in _concat_dataset

datasets.append(build_dataset(data_cfg, default_args))


 "/home/fulei/mmdetection/mmdet/datasets/builder.py", line 39, in build_dataset

dataset = build_from_cfg(cfg, DATASETS, default_args)


 "/home/fulei/mmdetection/mmdet/utils/registry.py", line 76, in build_from_cfg

return obj_cls(**args)


 "/home/fulei/mmdetection/mmdet/datasets/voc.py", line 11, in __init__

super(VOCDataset, self).__init__(**kwargs)


 "/home/fulei/mmdetection/mmdet/datasets/xml_style.py", line 15, in __init__

super(XMLDataset, self).__init__(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'img_scale'
Traceback (most recent call last):


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


 "example.py", line 7, in init example

class MyGeneric(Generic[T]):
TypeError: __init__() takes 3 positional arguments but 4 were given
