Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devsisters/DQN-tensorflow
/ functions
Functions
57 in github.com/devsisters/DQN-tensorflow
⨍
Functions
57
◇
Types & classes
11
↓ 12 callers
Function
linear
(input_, output_size, stddev=0.02, bias_start=0.0, activation_fn=None, name='linear')
dqn/ops.py:39
↓ 6 callers
Function
conv2d
(x, output_dim, kernel_size, stride, initializer=tf.contrib.layers
dqn/ops.py:11
↓ 5 callers
Method
_step
(self, action)
dqn/environment.py:34
↓ 5 callers
Method
add
(self, screen)
dqn/history.py:13
↓ 3 callers
Method
new_random_game
(self)
dqn/environment.py:27
↓ 3 callers
Method
render
(self)
dqn/environment.py:58
↓ 3 callers
Method
update_target_q_network
(self)
dqn/agent.py:333
↓ 2 callers
Method
__init__
(self, config)
dqn/environment.py:7
↓ 2 callers
Method
act
(self, action, is_training=True)
dqn/environment.py:69
↓ 2 callers
Method
after_act
(self, action)
dqn/environment.py:62
↓ 2 callers
Method
get
(self)
dqn/history.py:20
↓ 2 callers
Method
getState
(self, index)
dqn/replay_memory.py:40
↓ 2 callers
Method
load
(self)
dqn/replay_memory.py:94
↓ 2 callers
Method
predict
(self, s_t, test_ep=None)
dqn/agent.py:116
↓ 2 callers
Method
sample
(self)
dqn/replay_memory.py:53
↓ 2 callers
Method
save
(self)
dqn/replay_memory.py:88
↓ 1 callers
Method
build_dqn
(self)
dqn/agent.py:176
↓ 1 callers
Function
calc_gpu_fraction
(fraction_string)
main.py:36
↓ 1 callers
Function
class_vars
(obj)
dqn/base.py:9
↓ 1 callers
Function
clipped_error
(x)
dqn/ops.py:4
↓ 1 callers
Function
get_config
(FLAGS)
config.py:52
↓ 1 callers
Function
get_time
()
dqn/utils.py:29
↓ 1 callers
Method
inject_summary
(self, tag_dict, step)
dqn/agent.py:358
↓ 1 callers
Method
load_model
(self)
dqn/base.py:39
↓ 1 callers
Function
load_npy
(path)
dqn/utils.py:51
↓ 1 callers
Function
load_pkl
(path)
dqn/utils.py:39
↓ 1 callers
Method
new_game
(self, from_random_game=False)
dqn/environment.py:20
↓ 1 callers
Method
observe
(self, screen, reward, action, terminal)
dqn/agent.py:128
↓ 1 callers
Method
play
(self, n_step=10000, n_episode=100, test_ep=None, render=False)
dqn/agent.py:365
↓ 1 callers
Method
q_learning_mini_batch
(self)
dqn/agent.py:141
↓ 1 callers
Method
reset
(self)
dqn/history.py:17
↓ 1 callers
Function
rgb2gray
(image)
dqn/utils.py:16
↓ 1 callers
Method
save_model
(self, step=None)
dqn/base.py:31
↓ 1 callers
Function
save_npy
(obj, path)
dqn/utils.py:46
↓ 1 callers
Function
save_pkl
(obj, path)
dqn/utils.py:33
↓ 1 callers
Method
train
(self)
dqn/agent.py:32
Method
__init__
(self, config, model_dir)
dqn/replay_memory.py:11
Method
__init__
(self, config)
dqn/environment.py:66
Method
__init__
(self, config)
dqn/environment.py:90
Method
__init__
(self, config)
dqn/history.py:4
Method
__init__
(self, config)
dqn/base.py:15
Method
__init__
(self, config, environment, sess)
dqn/agent.py:16
Method
_random_step
(self)
dqn/environment.py:37
Method
act
(self, action, is_training=True)
dqn/environment.py:93
Method
action_size
(self)
dqn/environment.py:47
Method
add
(self, screen, reward, action, terminal)
dqn/replay_memory.py:30
Method
checkpoint_dir
(self)
dqn/base.py:54
Method
lives
(self)
dqn/environment.py:51
Method
load_weight_from_pkl
(self, cpu_mode=False)
dqn/agent.py:344
Function
main
(_)
main.py:44
Method
model_dir
(self)
dqn/base.py:58
Method
save_weight_to_pkl
(self)
dqn/agent.py:337
Method
saver
(self)
dqn/base.py:67
Method
screen
(self)
dqn/environment.py:42
Method
state
(self)
dqn/environment.py:55
Function
timed
(*args, **kwargs)
dqn/utils.py:20
Function
timeit
(f)
dqn/utils.py:19