Traceback (most recent call last):


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

main()


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

train_dataset = get_dataset(cfg.data.train)


 "/home/liuhaoxu/anaconda3/lib/python3.6/site-packages/mmdet-0.5.4+unknown-py3.6.egg/mmdet/datasets/utils.py", line 114, in get_dataset

dset = obj_from_dict(data_info, datasets)


 "/home/liuhaoxu/anaconda3/lib/python3.6/site-packages/mmcv-0.2.1-py3.6.egg/mmcv/runner/utils.py", line 72, in obj_from_dict

return obj_type(**args)
TypeError: __init__() got an unexpected keyword argument 'ann_file'

Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1997, in __call__

return self.wsgi_app(environ, start_response)


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1985, in wsgi_app

response = self.handle_exception(e)


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1540, in handle_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise

raise value


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1982, in wsgi_app

response = self.full_dispatch_request()


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1614, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1517, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise

raise value


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1610, in full_dispatch_request

rv = self.preprocess_request()


 "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1831, in preprocess_request

rv = func()


 "/usr/local/lib/python3.5/dist-packages/flask_limiter/extension.py", line 434, in __check_request_limit

six.reraise(*sys.exc_info())


 "/usr/local/lib/python3.5/dist-packages/six.py", line 686, in reraise

raise value


 "/usr/local/lib/python3.5/dist-packages/flask_limiter/extension.py", line 399, in __check_request_limit

if not self.limiter.hit(lim.limit, *filter(None, [self._key_prefix, limit_key, limit_scope])):


 "/usr/local/lib/python3.5/dist-packages/limits/strategies.py", line 124, in hit

self.storage().incr(item.key_for(*identifiers), item.get_expiry())


 "/usr/local/lib/python3.5/dist-packages/limits/limits.py", line 74, in key_for

str(self.amount), str(self.multiples), self.granularity[1]
TypeError: sequence item 0: expected str instance, bytes found
