Traceback (most recent call last):


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1162, in _decrypt_signature

video_id, player_url, s


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1085, in _extract_signature_function

cache_res = res(test_string)


 "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1138, in <lambda>

return lambda s: initial_function([s])


 "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 255, in resf

res, abort = self.interpret_statement(stmt, local_vars)


 "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 56, in interpret_statement

v = self.interpret_expression(expr, local_vars, allow_recursion)


 "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 143, in interpret_expression

self._objects[variable] = self.extract_object(variable)


 "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 219, in extract_object

r'\}\s*;' % _FUNC_NAME_RE,
TypeError: not all arguments converted during string formatting

Traceback (most recent call last):


 "/home/shuxj/tool/pycharm-community-2018.1.4/helpers/pydev/pydevd.py", line 1664, in <module>

main()


 "/home/shuxj/tool/pycharm-community-2018.1.4/helpers/pydev/pydevd.py", line 1658, in main

globals = debugger.run(setup['file'], None, None, is_module)


 "/home/shuxj/tool/pycharm-community-2018.1.4/helpers/pydev/pydevd.py", line 1068, in run

pydev_imports.execfile(file, globals, locals)
# execute the script


 "/home/shuxj/tool/pycharm-community-2018.1.4/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)


 "/home/shuxj/work/code/PersonReID/strong_baseline/strong/tools/train.py", line 17, in <module>

from engine.trainer import do_train, do_train_with_center


 "/home/shuxj/work/code/PersonReID/strong_baseline/strong/engine/trainer.py", line 13, in <module>

from ignite.metrics import RunningAverage


 "/usr/local/lib/python3.5/dist-packages/ignite/metrics/__init__.py", line 1, in <module>

from ignite.metrics.binary_accuracy import BinaryAccuracy


 "/usr/local/lib/python3.5/dist-packages/ignite/metrics/binary_accuracy.py", line 4, in <module>

from ignite.metrics.accuracy import Accuracy


 "/usr/local/lib/python3.5/dist-packages/ignite/metrics/accuracy.py", line 5, in <module>

from ignite.metrics.metric import Metric


 "/usr/local/lib/python3.5/dist-packages/ignite/metrics/metric.py", line 7, in <module>

class Metric(with_metaclass(ABCMeta, object)):


 "/usr/local/lib/python3.5/dist-packages/ignite/metrics/metric.py", line 62, in Metric

@torch.no_grad()
TypeError: 'no_grad' object is not callable
