>>> Traceback (most recent call last):


 "C:\dev\packages\spyder\spyder\app\mainwindow.py", line 2415, in execute_in_external_console

console.execute_code(lines)
TypeError: execute_code() missing 1 required positional argument: 'clear_variables'

Traceback (most recent call last):


 "train.py", line 123, in <module>

tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)


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

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


 "train.py", line 114, in main

train_steps=FLAGS.train_steps):


 "/media/khaled/thor/PycharmProjects/astronet-kepler/util/estimator_util.py", line 322, in continuous_train_and_eval

estimator.train(train_input_fn, hooks=train_hooks, steps=steps)


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 302, in train

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


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 708, in _train_model

input_fn, model_fn_lib.ModeKeys.TRAIN)


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 577, in _get_features_and_labels_from_input_fn

result = self._call_input_fn(input_fn, mode)


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py", line 663, in _call_input_fn

return input_fn(**kwargs)


 "/media/khaled/thor/PycharmProjects/astronet-kepler/util/estimator_util.py", line 71, in input_fn

use_tpu=use_tpu)


 "/media/khaled/thor/PycharmProjects/astronet-kepler/ops/dataset_ops.py", line 206, in build_dataset

value_dtype=tf.int32)


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/lookup_ops.py", line 325, in __init__

self._keys = ops.convert_to_tensor(keys, dtype=key_dtype, name="keys")


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 836, in convert_to_tensor

as_ref=False)


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 926, in internal_convert_to_tensor

ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/constant_op.py", line 229, in _constant_tensor_conversion_function

return constant(v, dtype=dtype, name=name)


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/constant_op.py", line 208, in constant

value, dtype=dtype, shape=shape, verify_shape=verify_shape))


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/tensor_util.py", line 383, in make_tensor_proto

_AssertCompatible(values, dtype)


 "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/tensor_util.py", line 303, in _AssertCompatible

(dtype.name, repr(mismatch), type(mismatch).__name__))
TypeError: Expected string, got dict_keys(['NTP', 'PC', 'AFP']) of type 'dict_keys' instead.
