Traceback (most recent call last):


 "/home/ga53huq2/tensorflow/bin/t2t-trainer", line 87, in <module>

tf.app.run()


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run

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


 "/home/ga53huq2/tensorflow/bin/t2t-trainer", line 83, in main

schedule=FLAGS.schedule)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/trainer_utils.py", line 335, in run

exp.train_and_evaluate()


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 502, in train_and_evaluate

self.train(delay_secs=0)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 280, in train

hooks=self._train_monitors + extra_hooks)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/contrib/learn/python/learn/experiment.py", line 672, in _call_train

hooks=hooks)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/estimator/estimator.py", line 241, in train

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


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/estimator/estimator.py", line 628, in _train_model

input_fn, model_fn_lib.ModeKeys.TRAIN)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/estimator/estimator.py", line 499, in _get_features_and_labels_from_input_fn

result = self._call_input_fn(input_fn, mode)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/estimator/estimator.py", line 585, in _call_input_fn

return input_fn(**kwargs)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 121, in input_fn

problem_count - 1)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in cond_on_index

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func

return func(*args, **kwargs)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1828, in cond

orig_res_f, res_f = context_f.BuildCondBranch(false_fn)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1694, in BuildCondBranch

original_result = fn()


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in <lambda>

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in cond_on_index

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func

return func(*args, **kwargs)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1828, in cond

orig_res_f, res_f = context_f.BuildCondBranch(false_fn)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1694, in BuildCondBranch

original_result = fn()


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in <lambda>

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in cond_on_index

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func

return func(*args, **kwargs)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1828, in cond

orig_res_f, res_f = context_f.BuildCondBranch(false_fn)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1694, in BuildCondBranch
 original_result = fn()


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in <lambda>

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in cond_on_index

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func

return func(*args, **kwargs)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1828, in cond

orig_res_f, res_f = context_f.BuildCondBranch(false_fn)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1694, in BuildCondBranch

original_result = fn()


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in <lambda>

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in cond_on_index

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func

return func(*args, **kwargs)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1828, in cond

orig_res_f, res_f = context_f.BuildCondBranch(false_fn)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1694, in BuildCondBranch

original_result = fn()


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in <lambda>

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in cond_on_index

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func

return func(*args, **kwargs)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1828, in cond

orig_res_f, res_f = context_f.BuildCondBranch(false_fn)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1694, in BuildCondBranch

original_result = fn()


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in <lambda>

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in cond_on_index

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func

return func(*args, **kwargs)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1828, in cond

orig_res_f, res_f = context_f.BuildCondBranch(false_fn)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1694, in BuildCondBranch

original_result = fn()


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in <lambda>

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in cond_on_index

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func

return func(*args, **kwargs)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1828, in cond

orig_res_f, res_f = context_f.BuildCondBranch(false_fn)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1694, in BuildCondBranch

original_result = fn()


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in <lambda>

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in cond_on_index

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func

return func(*args, **kwargs)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1828, in cond

orig_res_f, res_f = context_f.BuildCondBranch(false_fn)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1694, in BuildCondBranch

original_result = fn()


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in <lambda>

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensor2tensor/utils/input_fn_builder.py", line 191, in cond_on_index

lambda: cond_on_index(fn, index_tensor, max_idx, cur_idx + 1))


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation.py", line 296, in new_func

return func(*args, **kwargs)


 "/home/ga53huq2/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 1843, in cond

"Incompatible return types of true_fn and false_fn: {}".format(e))
TypeError: Incompatible return types of true_fn and false_fn: The two structures don't have the same sequence type. First structure has type <type 'list'>, while second structure has type <type 'dict'>.

Traceback (most recent call last):


 "/Users/ame/workspace/org.elgert/toga/.venv/bin/toga-demo", line 11, in <module>

sys.exit(run())


 "/Users/ame/workspace/org.elgert/toga/.venv/lib/python3.6/site-packages/toga_demo/__main__.py", line 5, in run

main().main_loop()


 "/Users/ame/workspace/org.elgert/toga/.venv/lib/python3.6/site-packages/toga_cocoa/app.py", line 167, in main_loop

self._startup()


 "/Users/ame/workspace/org.elgert/toga/.venv/lib/python3.6/site-packages/toga_cocoa/app.py", line 95, in _startup

self._impl = NSApplication.sharedApplication()
TypeError: 'ObjCInstance' object is not callable
