InvalidArgumentError Traceback (most recent call last)
<ipython-input-5-12bc6e8cd13c> in <module>()
1 zv = replay.build_outputs(ax_zvalues,before_activation=True,
----> 2 exclude_outputs=True, include_inputs=False)
~/miniconda3/envs/rlgym/lib/python3.6/site-packages/deepreplay/replay.py in build_outputs(self, ax, before_activation, layer_names, include_inputs, exclude_outputs, epoch_start, epoch_end)
468 inputs = [self.learning_phase, self.inputs] + weights
469 if before_activation:
--> 470 outputs.append(self._get_zvalues(inputs=inputs))
471 else:
472 outputs.append(self._get_activations(inputs=inputs))
~/miniconda3/envs/rlgym/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py in __call__(self, inputs)
2659 return self._legacy_call(inputs)
2660
-> 2661 return self._call(inputs)
2662 else:
2663 if py_any(is_tensor(x) for x in inputs):
~/miniconda3/envs/rlgym/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py in _call(self, inputs)
2628 feed_symbols,
2629 symbol_vals,
-> 2630 session)
2631 fetched = self._callable_fn(*array_vals)
2632 return fetched[:len(self.outputs)]
~/miniconda3/envs/rlgym/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py in _make_callable(self, feed_arrays, feed_symbols, symbol_vals, session)
2580 callable_opts.target.append(self.updates_op.name)
2581 # Create callable.
-> 2582 callable_fn = session._make_callable_from_options(callable_opts)
2583 # Cache parameters corresponding to the generated callable, so that
2584 # we can detect future mismatches and refresh the callable.
~/miniconda3/envs/rlgym/lib/python3.6/site-packages/tensorflow/python/client/session.py in _make_callable_from_options(self, callable_options)
1478 """
1479 self._extend_graph()
-> 1480 return BaseSession._Callable(self, callable_options)
1481
1482
~/miniconda3/envs/rlgym/lib/python3.6/site-packages/tensorflow/python/client/session.py in __init__(self, session, callable_options)
1439 else:
1440 self._handle = tf_session.TF_DeprecatedSessionMakeCallable(
-> 1441 session._session, options_ptr, status)
1442 finally:
1443 tf_session.TF_DeleteBuffer(options_ptr)
~/miniconda3/envs/rlgym/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py in __exit__(self, type_arg, value_arg, traceback_arg)
517 None, None,
518 compat.as_text(c_api.TF_Message(self.status.status)),
--> 519 c_api.TF_GetCode(self.status.status))
520 # Delete the underlying status object from memory otherwise it stays alive
521 # as there is a reference to status from this from the traceback due to
InvalidArgumentError: hidden_input_1:0 is both fed and fetched.