MCPcopy Create free account

hub / github.com/chris-chris/mario-rl-tutorial / functions

Functions51 in github.com/chris-chris/mario-rl-tutorial

↓ 7 callersMethodrun
(self)
acktr/acktr_disc.py:134
↓ 7 callersMethodstep
(ob, *_args, **_kwargs)
acktr/policies.py:29
↓ 7 callersMethodvalue
(ob, *_args, **_kwargs)
acktr/policies.py:33
↓ 4 callersFunctionmake_obs_ph
(name)
deepq/deepq.py:171
↓ 4 callersFunctionupdate_history
(history, obs)
enjoy.py:80
↓ 3 callersMethodload
(path, num_cpu=16)
deepq/deepq.py:22
↓ 3 callersMethodsave
Save model to a pickle located at `path`
deepq/deepq.py:41
↓ 2 callersFunctionperturb_vars
(original_scope, perturbed_scope)
deepq/build_graph.py:225
↓ 2 callersMethodupdate_obs
(self, obs)
acktr/acktr_disc.py:130
↓ 1 callersMethod__init__
(self, env=None)
wrappers.py:7
↓ 1 callersFunction_cnn_to_mlp
(convs, hiddens, dueling, inpt, num_actions, scope, reuse=False, layer_norm=False)
deepq/models.py:33
↓ 1 callersFunction_mlp
(hiddens, inpt, num_actions, scope, reuse=False, layer_norm=False)
deepq/models.py:5
↓ 1 callersMethodact
(self, observation, reward, done)
random_agent.py:17
↓ 1 callersFunctionbuild_act
Creates the act function: Parameters ---------- make_obs_ph: str -> tf.placeholder or TfInput a function that take a name and creates a p
deepq/build_graph.py:115
↓ 1 callersFunctionbuild_act_with_param_noise
Creates the act function with support for parameter space noise exploration (https://arxiv.org/abs/1706.01905): Parameters ---------- make_obs_
deepq/build_graph.py:169
↓ 1 callersFunctioncnn_to_mlp
This model takes as input an observation and returns values of all actions. Parameters ---------- convs: [(int, int int)] list of convolu
deepq/models.py:70
↓ 1 callersMethodload
(load_path)
acktr/acktr_disc.py:92
↓ 1 callersFunctionmain
()
train.py:198
↓ 1 callersFunctionmain
()
random_agent.py:20
↓ 1 callersFunctionmain
()
enjoy.py:28
↓ 1 callersFunctionmake_env
(rank)
train.py:64
↓ 1 callersMethodprocess
(img)
wrappers.py:15
↓ 1 callersMethodsave
(save_path)
acktr/acktr_disc.py:88
↓ 1 callersFunctiont
(a,b,c)
lambda_ex1.py:1
↓ 1 callersFunctiont2
(n)
lambda_ex1.py:4
↓ 1 callersMethodtrain
(obs, states, rewards, masks, actions, values)
acktr/acktr_disc.py:72
↓ 1 callersFunctiontrain_acktr
Train a acktr model. Parameters ------- env_id: environment to train on num_timesteps: int number of env steps to optimizer f
train.py:48
↓ 1 callersFunctiontrain_dqn
Train a dqn model. Parameters ------- env_id: environment to train on num_timesteps: int number of env steps to optimizer for
train.py:89
↓ 1 callersFunctionupdate_scale
()
deepq/build_graph.py:248
Method__call__
(self, *args, **kwargs)
deepq/deepq.py:38
Method__init__
(self, action_space)
random_agent.py:14
Method__init__
(self, env)
wrappers.py:46
Method__init__
(self, act, act_params)
deepq/deepq.py:17
Method__init__
(self, policy, ob_space, ac_space, nenvs, total_timesteps, nprocs=32, nsteps=20, nstack=4, ent_
acktr/acktr_disc.py:18
Method__init__
(self, env, model, nsteps, nstack, gamma, callback=None)
acktr/acktr_disc.py:111
Method__init__
(self, sess, ob_space, ac_space, nenv, nsteps, nstack, reuse=False)
acktr/policies.py:10
Method__init__
(self, ob_dim, ac_dim)
acktr/policies.py:44
Method_action
(self, action)
wrappers.py:50
Method_observation
(self, obs)
wrappers.py:11
Method_reverse_action
(self, action)
wrappers.py:53
Function_thunk
()
train.py:65
Functionacktr_callback
(locals, globals)
train.py:165
Methodact
(self, ob)
acktr/policies.py:78
Functionbuild_train
Creates the train function: Parameters ---------- make_obs_ph: str -> tf.placeholder or TfInput a function that takes a name and creates
deepq/build_graph.py:282
Functiondeepq_callback
(locals, globals)
train.py:132
Functiondefault_param_noise_filter
(var)
deepq/build_graph.py:100
Functionlearn
Train a deepq model. Parameters ------- env: gym.Env environment to train on q_func: (tf.Variable, int, str, bool) -> tf.Variable
deepq/deepq.py:77
Functionlearn
(policy, env, seed, total_timesteps=int(40e6), gamma=0.99, l
acktr/acktr_disc.py:216
Functionload
Load act function that was returned by learn function. Parameters ---------- path: str path to the act function pickle num_cpu: int
deepq/deepq.py:58
Functionload
(policy, env, seed, filename, total_timesteps=int(40e6), nprocs=32, nsteps=20, nstack=4, ent_coef=0.
acktr/acktr_disc.py:197
Functionmlp
This model takes as input an observation and returns values of all actions. Parameters ---------- hiddens: [int] list of sizes of hidden
deepq/models.py:17