Traceback (most recent call last):


 "C:\Users\dellpc\Anaconda3\lib\site-packages\traitlets\traitlets.py", line 528, in get

value = obj._trait_values[self.name]
KeyError: 'context'

Traceback (most recent call last):


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

main()


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

meta=meta)


 "/content/drive/My Drive/mdet2/mmdet/apis/train.py", line 143, in train_detector

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


 "/usr/local/lib/python3.6/dist-packages/mmcv/runner/epoch_based_runner.py", line 122, in run

epoch_runner(data_loaders[i], **kwargs)


 "/usr/local/lib/python3.6/dist-packages/mmcv/runner/epoch_based_runner.py", line 46, in train

self.call_hook('after_train_epoch')


 "/usr/local/lib/python3.6/dist-packages/mmcv/runner/base_runner.py", line 282, in call_hook

getattr(hook, fn_name)(self)


 "/usr/local/lib/python3.6/dist-packages/mmcv/runner/dist_utils.py", line 93, in wrapper

return func(*args, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/mmcv/runner/hooks/checkpoint.py", line 52, in after_train_epoch

self.out_dir, save_optimizer=self.save_optimizer, **self.args)


 "/usr/local/lib/python3.6/dist-packages/mmcv/runner/epoch_based_runner.py", line 156, in save_checkpoint

save_checkpoint(self.model, filepath, optimizer=optimizer, meta=meta)


 "/usr/local/lib/python3.6/dist-packages/mmcv/runner/checkpoint.py", line 349, in save_checkpoint

checkpoint['optimizer'] = optimizer.state_dict()


 "/usr/local/lib/python3.6/dist-packages/torch/optim/optimizer.py", line 98, in state_dict

for k, v in self.state.items()}


 "/usr/local/lib/python3.6/dist-packages/torch/optim/optimizer.py", line 98, in <dictcomp>

for k, v in self.state.items()}
KeyError: 140388814569120
