Traceback (most recent call last):


 "/home/tom/.local/bin/t2t-decoder", line 17, in <module>

tf.app.run()


 "/home/tom/.local/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 40, in run

_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)


 "/home/tom/.local/lib/python3.7/site-packages/absl/app.py", line 299, in run

_run_main(main, args)


 "/home/tom/.local/lib/python3.7/site-packages/absl/app.py", line 250, in _run_main

sys.exit(main(argv))


 "/home/tom/.local/bin/t2t-decoder", line 12, in main

t2t_decoder.main(argv)


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/bin/t2t_decoder.py", line 205, in main

decode(estimator, hp, decode_hp)


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/bin/t2t_decoder.py", line 94, in decode

checkpoint_path=FLAGS.checkpoint_path)


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/utils/decoding.py", line 474, in decode_from_file

for elapsed_time, result in timer(result_iter):


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/utils/decoding.py", line 468, in timer

item = next(gen)


 "/home/tom/.local/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 619, in predict

features, None, ModeKeys.PREDICT, self.config)


 "/home/tom/.local/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1146, in _call_model_fn

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


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/utils/t2t_model.py", line 1415, in wrapping_model_fn

use_tpu=use_tpu)


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/utils/t2t_model.py", line 1472, in estimator_model_fn

return model.estimator_spec_predict(features, use_tpu=use_tpu)


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/utils/t2t_model.py", line 1696, in estimator_spec_predict

use_tpu=use_tpu)


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/utils/t2t_model.py", line 813, in infer

results = self._greedy_infer(features, decode_length, use_tpu)


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/models/transformer.py", line 338, in _greedy_infer

return super(Transformer, self)._greedy_infer(features, decode_length)


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/utils/t2t_model.py", line 977, in _greedy_infer

return self._slow_greedy_infer(features, decode_length)


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/utils/t2t_model.py", line 1309, in _slow_greedy_infer

parallel_iterations=1)


 "/home/tom/.local/lib/python3.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3501, in while_loop

return_same_structure)


 "/home/tom/.local/lib/python3.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3012, in BuildLoop

pred, body, original_loop_vars, loop_vars, shape_invariants)


 "/home/tom/.local/lib/python3.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2937, in _BuildLoop

body_result = body(*packed_vars_for_body)


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/utils/t2t_model.py", line 1201, in infer_step

samples, logits, losses = self.sample(features)


 "/home/tom/.local/lib/python3.7/site-packages/tensor2tensor/utils/t2t_model.py", line 1339, in sample

logits, losses = self(features)
# pylint: disable=not-callable


 "/home/tom/.local/lib/python3.7/site-packages/tensorflow/python/layers/base.py", line 537, in __call__

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


 "/home/tom/.local/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 634, in __call__

outputs = call_fn(inputs, *args, **kwargs)


 "/home/tom/.local/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py", line 149, in wrapper

raise e.ag_error_metadata.to_exception(type(e))
KeyError: 'in converted code:\n
relative to /home/tom/.local/lib/python3.7/site-packages/tensor2tensor:\n\n
utils/t2t_model.py:324 call *\n
sharded_logits, losses = self.model_fn_sharded(sharded_features)\n
utils/t2t_model.py:401 model_fn_sharded\n
sharded_logits, sharded_losses = dp(self.model_fn, datashard_to_features)\n
utils/expert_utils.py:231 __call__\n
outputs.append(fns[i](*my_args[i], **my_kwargs[i]))\n
utils/t2t_model.py:428 model_fn\n
body_out = self.body(transformed_features)\n
models/transformer.py:264 body\n
chunk_number_each_token = tf.squeeze(features["chunk_number"], (-1, -2))\n\n
KeyError: \'chunk_number\'\n'

Traceback (most recent call last):


 "/usr/share/pyload/module/lib/bottle.py", line 733, in _handle

return route.call(**args)


 "/usr/share/pyload/module/lib/bottle.py", line 1448, in wrapper

rv = callback(*a, **ka)


 "/usr/share/pyload/module/web/utils.py", line 113, in _view

return func(*args, **kwargs)


 "/usr/share/pyload/module/web/json_app.py", line 158, in add_package

queue = int(request.forms['add_dest'])


 "/usr/share/pyload/module/lib/bottle.py", line 1574, in __getitem__

def __getitem__(self, key): return self.dict[key][-1]
KeyError: 'add_dest'
