MCPcopy Create free account
hub / github.com/aviralkumar2907/CQL / create_agent

Function create_agent

atari/batch_rl/fixed_replay/train.py:52–78  ·  view source on GitHub ↗

Creates a DQN agent. Args: sess: A `tf.Session`object for running associated ops. environment: An Atari 2600 environment. replay_data_dir: Directory to which log the replay buffers periodically. summary_writer: A Tensorflow summary writer to pass to the agent for in-agent t

(sess, environment, replay_data_dir, summary_writer=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected