Issue 1:
System information

Have I written custom code: yes

OS Platform and Distribution: Linux Ubuntu 16.04

TensorFlow installed from: source

TensorFlow version: v1.2.0-rc0-312-g0b72359 1.2.0-rc0

Bazel version: 0.4.5

CUDA/cuDNN version: 8.0/5.1

GPU model and memory: NVIDIA GeForce GTX 750 Ti

After recompiling TensorFlow I got this strange log message.

I doesn't seem to affect any of the computation.

All of the other tools behave as expected.

WARNING:tensorflow:Error encountered when serializing LAYER_NAME_UIDS.
Type is unsupported, or the types of the items don't match field type in CollectionDef.
'dict' object has no attribute 'name'

Issue 2:
Traceback (most recent call last):
File "AI_control_4layer.py", line 218, in <module>
writer)
File "/home/longfei/Repository/drl_navigation/saved_neural_qlearning.py", line 61, in __init__
self.create_variables()
File "/home/longfei/Repository/drl_navigation/saved_neural_qlearning.py", line 148, in create_variables
self.train_op = self.optimizer.apply_gradients(gradients)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/optimizer.py", line 412, in apply_gradients
self._create_slots(var_list)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/rmsprop.py", line 101, in _create_slots
self._get_or_make_slot(v, val_rms, "rms", self._name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/optimizer.py", line 639, in _get_or_make_slot
named_slots[var] = slot_creator.create_slot(var, val, op_name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/slot_creator.py", line 101, in create_slot
return _create_slot_var(primary, val, '')
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/slot_creator.py", line 55, in _create_slot_var
slot = variable_scope.get_variable(scope, initializer=val, trainable=False)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 988, in get_variable
custom_getter=custom_getter)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 890, in get_variable
custom_getter=custom_getter)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 348, in get_variable
validate_shape=validate_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 333, in _true_getter
caching_device=caching_device, validate_shape=validate_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 684, in _get_single_variable
validate_shape=validate_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py", line 226, in __init__
expected_shape=expected_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py", line 322, in _init_from_args
name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/state_ops.py", line 178, in variable_op_v2
shared_name=shared_name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_state_ops.py", line 708, in _variable_v2
name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 763, in apply_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2398, in create_op
self._add_op(ret)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2099, in _add_op
"is already used" % op.name)
ValueError: cannot add op with name q_network/W_conv1/RMSProp as that name is already used