Traceback (most recent call last):


 "train_SyncBN.py", line 151, in <module>

loss = criterion(outputs, labels)


 "/home/phd-1/.conda/envs/pytorch-0.41/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

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


 "/home/phd-1/.conda/envs/pytorch-0.41/lib/python3.6/site-packages/encoding/parallel.py", line 134, in forward

outputs = _criterion_parallel_apply(replicas, inputs, targets, kwargs)


 "/home/phd-1/.conda/envs/pytorch-0.41/lib/python3.6/site-packages/encoding/parallel.py", line 188, in _criterion_parallel_apply

raise output


 "/home/phd-1/.conda/envs/pytorch-0.41/lib/python3.6/site-packages/encoding/parallel.py", line 163, in _worker

output = module(*(input + target), **kwargs)
TypeError: add() received an invalid combination of arguments - got (tuple), but expected one of:

Traceback (most recent call last):

 "/home/patrys/Apps/sublime_text_3/sublime_plugin.py", line 358, in on_query_completions
res = callback.on_query_completions(v, prefix, locations)

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/sublime_jedi.py", line 291, in on_query_completions
completions = self.get_completions(view, locations)

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/sublime_jedi.py", line 307, in get_completions
completions = self.completions_from_script(script, view) +\

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/sublime_jedi.py", line 201, in completions_from_script
completions = script.complete()

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/jedi/api_classes.py", line 44, in wrapper
result = func(*args, **kwds)

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/jedi/api.py", line 94, in complete
scopes = list(self._prepare_goto(path, True))

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/jedi/api.py", line 189, in _prepare_goto
scopes = evaluate.follow_statement(stmt)

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/jedi/recursion.py", line 31, in __call__
result = self.func(stmt, *args, **kwargs)

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/jedi/cache.py", line 100, in wrapper
rv = function(*args, **kwargs)

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/jedi/evaluate.py", line 584, in follow_statement
result = follow_call_list(commands)

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/jedi/common.py", line 58, in wrapper
reraise(UncaughtAttributeError(exc_info[1]), exc_info[2])

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/jedi/_compatibility.py", line 145, in reraise
raise exception.with_traceback(traceback)

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/jedi/common.py", line 55, in wrapper
return func(*args, **kwds)

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/jedi/evaluate.py", line 657, in follow_call_list
result += follow_call(call)

 "/home/patrys/.config/sublime-text-3/Packages/SublimeJEDI/jedi/evaluate.py", line 673, in follow_call
while not s.parent.isinstance(pr.IsScope):jedi.common.UncaughtAttributeError: 'NoneType' object has no attribute 'isinstance'