Traceback (most recent call last):


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/bin/t2t-trainer", line 4, in <module>

__import__('pkg_resources').run_script('tensor2tensor==1.13.0', 't2t-trainer')


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/setuptools-40.8.0-py3.7.egg/pkg_resources/__init__.py", line 666, in run_script


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/setuptools-40.8.0-py3.7.egg/pkg_resources/__init__.py", line 1446, in run_script


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/EGG-INFO/scripts/t2t-trainer", line 33, in <module>

tf.app.run()


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 125, in run

_sys.exit(main(argv))


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/EGG-INFO/scripts/t2t-trainer", line 28, in main

t2t_trainer.main(argv)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/bin/t2t_trainer.py", line 439, in main

execute_schedule(exp)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/bin/t2t_trainer.py", line 358, in execute_schedule

getattr(exp, FLAGS.schedule)()


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/utils/trainer_lib.py", line 400, in continuous_train_and_eval

self._eval_spec)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/training.py", line 471, in train_and_evaluate

return executor.run()


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/training.py", line 611, in run

return self.run_local()


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/training.py", line 712, in run_local

saving_listeners=saving_listeners)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 358, in train

loss = self._train_model(input_fn, hooks, saving_listeners)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1124, in _train_model

return self._train_model_default(input_fn, hooks, saving_listeners)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1154, in _train_model_default

features, labels, model_fn_lib.ModeKeys.TRAIN, self.config)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1112, in _call_model_fn

model_fn_results = self._model_fn(features=features, **kwargs)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/utils/t2t_model.py", line 1405, in wrapping_model_fn

use_tpu=use_tpu)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/utils/t2t_model.py", line 1466, in estimator_model_fn

logits, losses_dict = model(features)
# pylint: disable=not-callable


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensorflow/python/layers/base.py", line 530, in __call__

outputs = super(Layer, self).__call__(inputs, *args, **kwargs)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 554, in __call__

outputs = self.call(inputs, *args, **kwargs)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/utils/t2t_model.py", line 322, in call

sharded_logits, losses = self.model_fn_sharded(sharded_features)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/utils/t2t_model.py", line 383, in model_fn_sharded

sharded_logits, sharded_losses = dp(self.model_fn, datashard_to_features)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/utils/expert_utils.py", line 231, in __call__

outputs.append(fns[i](*my_args[i], **my_kwargs[i]))


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/utils/t2t_model.py", line 431, in model_fn

losses["training"] = self.loss(logits, features)


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/utils/t2t_model.py", line 700, in loss

weights=features.get("targets_mask"))


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/utils/t2t_model.py", line 666, in _loss_single

feature


 "/Users/harvatmykola/University/Otherprojects/tensor2tensor/venv/lib/python3.7/site-packages/tensor2tensor-1.13.0-py3.7.egg/tensor2tensor/data_generators/multi_problem.py", line 447, in aggregate_task_losses

hparams, vocab_size, weights_fn)
TypeError: generic_loss() takes 5 positional arguments but 6 were given

Traceback (most recent call last):


 "/Users/ogi/.zinit/plugins/pyenv---pyenv/versions/miniconda2-latest/envs/pyqtgraph-pyqt/lib/python2.7/runpy.py", line 174, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/Users/ogi/.zinit/plugins/pyenv---pyenv/versions/miniconda2-latest/envs/pyqtgraph-pyqt/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "/Users/ogi/Developer/pyqtgraph/examples/__main__.py", line 159, in <module>

run()


 "/Users/ogi/Developer/pyqtgraph/examples/__main__.py", line 154, in run

app = App([])


 "/Users/ogi/Developer/pyqtgraph/examples/__main__.py", line 28, in __init__

super().__init__(*args, **kwargs)
TypeError: super() takes at least 1 argument (0 given)
