Traceback (most recent call last):


 "/usr/local/bin/t2t-trainer", line 4, in <module>

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


 "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 719, in run_script

self.require(requires)[0].run_script(script_name, ns)


 "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1504, in run_script

exec(code, namespace, namespace)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/EGG-INFO/scripts/t2t-trainer", line 82, in <module>

tf.app.run()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run

_sys.exit(main(_sys.argv[:1] + flags_passthrough))


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/EGG-INFO/scripts/t2t-trainer", line 78, in main

schedule=FLAGS.schedule)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/tensor2tensor/utils/trainer_utils.py", line 292, in run

run_locally(exp_fn(output_dir))


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/tensor2tensor/utils/trainer_utils.py", line 610, in run_locally

exp.train_and_evaluate()


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 495, in train_and_evaluate

self.train(delay_secs=0)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 275, in train

hooks=self._train_monitors + extra_hooks)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 665, in _call_train

monitors=hooks)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/deprecation.py", line 289, in new_func

return func(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 455, in fit

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


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 955, in _train_model

model_fn_ops = self._get_train_ops(features, labels)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1162, in _get_train_ops

return self._call_model_fn(features, labels, model_fn_lib.ModeKeys.TRAIN)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1133, in _call_model_fn

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


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/tensor2tensor/utils/trainer_utils.py", line 491, in model_fn

len(hparams.problems) - 1)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/tensor2tensor/utils/trainer_utils.py", line 811, in _cond_on_index

return fn(cur_idx)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/tensor2tensor/utils/trainer_utils.py", line 472, in nth_model

features, skip=(skipping_is_on and skip_this_one))


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/tensor2tensor/utils/t2t_model.py", line 396, in model_fn

sharded_features[key], dp)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/tensor2tensor/utils/modality.py", line 95, in bottom_sharded

return data_parallelism(self.bottom, xs)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/tensor2tensor/utils/expert_utils.py", line 295, in __call__

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


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/tensor2tensor/models/modalities.py", line 89, in bottom

return self.bottom_simple(x, "shared", reuse=None)


 "/usr/local/lib/python2.7/dist-packages/tensor2tensor-1.1.3-py2.7.egg/tensor2tensor/models/modalities.py", line 81, in bottom_simple

ret = tf.gather(var, x)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 1179, in gather

validate_indices=validate_indices, name=name)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 589, in apply_op

param_name=input_name)


 "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 60, in _SatisfiesTypeConstraint

", ".join(dtypes.as_dtype(x).name for x in allowed_list)))
TypeError: Value passed to parameter 'indices' has DataType uint8 not in list of allowed values: int32, int64

Traceback (most recent call last):


 "<input>", line 1, in <module>

import bpdb_test


 "/<pwd>/bpdb_test.py", line 2, in <module>

bpdb.set_trace()


 "/<home>/.pyenv/versions/3.5.2/lib/python3.5/bdb.py", line 52, in trace_dispatch

return self.dispatch_return(frame, arg)


 "/<home>/.pyenv/versions/3.5.2/lib/python3.5/bdb.py", line 93, in dispatch_return

self.user_return(frame, arg)


 "/<home>/.pyenv/versions/3.5.2/lib/python3.5/pdb.py", line 291, in user_return

self.interaction(frame, None)


 "/<home>/.pyenv/versions/3.5.2/lib/python3.5/pdb.py", line 346, in interaction

self._cmdloop()


 "/<home>/.pyenv/versions/3.5.2/lib/python3.5/pdb.py", line 319, in _cmdloop

self.cmdloop()


 "/<home>/.pyenv/versions/3.5.2/lib/python3.5/cmd.py", line 138, in cmdloop

stop = self.onecmd(line)


 "/<home>/.pyenv/versions/3.5.2/lib/python3.5/pdb.py", line 412, in onecmd

return cmd.Cmd.onecmd(self, line)


 "/<home>/.pyenv/versions/3.5.2/lib/python3.5/cmd.py", line 217, in onecmd

return func(arg)


 "/<venv>/lib/python3.5/site-packages/bpdb/debugger.py", line 46, in do_Bpython

bpython.embed(self.curframe.f_locals, ['-i'])


 "/<venv>/lib/python3.5/site-packages/bpython/__init__.py", line 36, in embed

return main(args, locals_, banner)


 "/<venv>/lib/python3.5/site-packages/bpython/curtsies.py", line 187, in main

with repl.window as win:


 "/<venv>/lib/python3.5/site-packages/curtsies/window.py", line 254, in __enter__

self.cbreak.__enter__()


 "/<venv>/lib/python3.5/site-packages/curtsies/termhelpers.py", line 20, in __enter__

self.original_stty = termios.tcgetattr(self.stream)
TypeError: argument must be an int, or have a fileno() method.
