Traceback (most recent call last):


 "main.py", line 57, in <module>

training_model.train()


 "/data/OLTR/OpenLongTailRecognition-OLTR/run_networks.py", line 192, in train

for step, (inputs, labels, _) in enumerate(self.data['train']):


 "/opt/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 819, in __next__

return self._process_data(data)


 "/opt/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 846, in _process_data

data.reraise()


 "/opt/anaconda3/lib/python3.6/site-packages/torch/_utils.py", line 369, in reraise

raise self.exc_type(msg)
TypeError: function takes exactly 5 arguments (1 given)

Traceback (most recent call last):


 "/home/graingert/.virtualenvs/pip-compile/bin/pip-compile", line 11, in <module>

sys.exit(cli())


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/piptools/scripts/compile.py", line 187, in cli

results = resolver.resolve(max_rounds=max_rounds)


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/piptools/resolver.py", line 102, in resolve

has_changed, best_matches = self._resolve_one_round()


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/piptools/resolver.py", line 191, in _resolve_one_round

best_matches = {self.get_best_match(ireq) for ireq in constraints}


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/piptools/resolver.py", line 191, in <setcomp>

best_matches = {self.get_best_match(ireq) for ireq in constraints}


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/piptools/resolver.py", line 256, in get_best_match

best_match = self.repository.find_best_match(ireq, prereleases=self.prereleases)


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/piptools/repositories/pypi.py", line 110, in find_best_match

all_candidates = self.find_all_candidates(ireq.name)


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/piptools/repositories/pypi.py", line 96, in find_all_candidates

candidates = self.finder.find_all_candidates(req_name)


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/pip/index.py", line 423, in find_all_candidates

for page in self._get_pages(url_locations, project_name):


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/pip/index.py", line 568, in _get_pages

page = self._get_page(location)


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/pip/index.py", line 683, in _get_page

return HTMLPage.get_page(link, session=self.session)


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/pip/index.py", line 792, in get_page

"Cache-Control": "max-age=600",


 "/home/graingert/.virtualenvs/pip-compile/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get


 "/home/graingert/.virtualenvs/pip-compile/lib/python3.6/site-packages/pip/download.py", line 386, in request

return super(PipSession, self).request(method, url, *args, **kwargs)


 "/home/graingert/.virtualenvs/pip-compile/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request


 "/home/graingert/.virtualenvs/pip-compile/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send


 "/home/graingert/.virtualenvs/pip-compile/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send


 "/home/graingert/.virtualenvs/pip-compile/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send


 "/home/graingert/.virtualenvs/pip-compile/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen


 "/home/graingert/.virtualenvs/pip-compile/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
