Traceback (most recent call last):


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

main()


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

logger=logger)


 "/home/yu/mmdetection/mmdet/apis/train.py", line 59, in train_detector

_non_dist_train(model, dataset, cfg, validate=validate)


 "/home/yu/mmdetection/mmdet/apis/train.py", line 121, in _non_dist_train

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


 "/home/yu/.virtualenvs/mmdetetion/lib/python3.6/site-packages/mmcv/runner/runner.py", line 349, in run

epoch_runner(data_loaders[i], **kwargs)


 "/home/yu/.virtualenvs/mmdetetion/lib/python3.6/site-packages/mmcv/runner/runner.py", line 255, in train

self.model, data_batch, train_mode=True, **kwargs)


 "/home/yu/mmdetection/mmdet/apis/train.py", line 37, in batch_processor

losses = model(**data)


 "/home/yu/.virtualenvs/mmdetetion/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

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


 "/home/yu/.virtualenvs/mmdetetion/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 121, in forward

return self.module(*inputs[0], **kwargs[0])


 "/home/yu/.virtualenvs/mmdetetion/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

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


 "/home/yu/mmdetection/mmdet/models/detectors/base.py", line 80, in forward

return self.forward_train(img, img_meta, **kwargs)


 "/home/yu/mmdetection/mmdet/models/detectors/cascade_rcnn.py", line 141, in forward_train

cfg=rcnn_train_cfg)


 "/home/yu/mmdetection/mmdet/core/utils/misc.py", line 24, in multi_apply

return tuple(map(list, zip(*map_results)))


 "/home/yu/mmdetection/mmdet/core/bbox/assign_sampling.py", line 30, in assign_and_sample

bbox_sampler = build_sampler(cfg.sampler)


 "/home/yu/mmdetection/mmdet/core/bbox/assign_sampling.py", line 22, in build_sampler

cfg, samplers, default_args=kwargs)


 "/home/yu/.virtualenvs/mmdetetion/lib/python3.6/site-packages/mmcv/runner/utils.py", line 72, in obj_from_dict

return obj_type(**args)
TypeError: __init__() missing 1 required positional argument: 'context'

Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/pybuilder/cli.py", line 468, in main

environments=options.environments, tasks=arguments)


 "/usr/local/lib/python3.7/site-packages/pybuilder/reactor.py", line 235, in build

execution_summary = self.build_execution_plan(tasks, execution_plan)


 "/usr/local/lib/python3.7/site-packages/pybuilder/reactor.py", line 274, in build_execution_plan

reactor=self)


 "/usr/local/lib/python3.7/site-packages/pybuilder/execution.py", line 399, in execute_execution_plan

summaries.append(self.execute_task(task, **kwargs))


 "/usr/local/lib/python3.7/site-packages/pybuilder/execution.py", line 346, in execute_task

task.execute(self.logger, kwargs, _executable=_executable)


 "/usr/local/lib/python3.7/site-packages/pybuilder/execution.py", line 187, in execute

executable.execute(argument_dict)


 "/usr/local/lib/python3.7/site-packages/pybuilder/execution.py", line 101, in execute

self.callable(*arguments)


 "/usr/local/lib/python3.7/site-packages/pybuilder/plugins/python/coverage_plugin.py", line 133, in coverage

cov = coverage_factory(**coverage_config)
TypeError: __init__() got an unexpected keyword argument 'context'
