Traceback (most recent call last):


 "/home/ubuntu/anaconda3/envs/multi/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap

fn(i, *args)


 "/home/ubuntu/fairseq/fairseq_cli/train.py", line 267, in distributed_main

main(args, init_distributed=True)


 "/home/ubuntu/fairseq/fairseq_cli/train.py", line 101, in main

train(args, trainer, task, epoch_itr)


 "/home/ubuntu/anaconda3/envs/multi/lib/python3.8/contextlib.py", line 75, in inner

return func(*args, **kwds)


 "/home/ubuntu/fairseq/fairseq_cli/train.py", line 168, in train

log_output = trainer.train_step(samples)


 "/home/ubuntu/anaconda3/envs/multi/lib/python3.8/contextlib.py", line 75, in inner

return func(*args, **kwds)


 "/home/ubuntu/fairseq/fairseq/trainer.py", line 347, in train_step

logging_outputs, sample_size, ooms = self._aggregate_logging_outputs(


 "/home/ubuntu/fairseq/fairseq/trainer.py", line 611, in _aggregate_logging_outputs

return self._fast_stat_sync_sum(logging_outputs, *extra_stats_to_sum)


 "/home/ubuntu/fairseq/fairseq/trainer.py", line 649, in _fast_stat_sync_sum

stats = [0.] + list(extra_stats_to_sum) + [


 "/home/ubuntu/fairseq/fairseq/trainer.py", line 650, in <listcomp>

sum(log.get(k, 0) for log in logging_outputs)
TypeError: unsupported operand type(s) for +: 'int' and 'dict'

Traceback (most recent call last):


 "/home/argaldo/deeppavlov/env/lib/python3.6/site-packages/deeppavlov/core/common/params.py", line 100, in from_params

component = cls(**dict(config_params, **kwargs))


 "/home/argaldo/deeppavlov/env/lib/python3.6/site-packages/deeppavlov/core/models/tf_backend.py", line 77, in __call__

obj.__init__(*args, **kwargs)


 "/home/argaldo/deeppavlov/env/lib/python3.6/site-packages/deeppavlov/core/models/tf_backend.py", line 30, in _wrapped

return func(*args, **kwargs)
TypeError: __init__() missing 1 required positional argument: 'hidden_size'
