MCPcopy Create free account

hub / github.com/TianhongDai/reinforcement-learning-algorithms / functions

Functions284 in github.com/TianhongDai/reinforcement-learning-algorithms

↓ 1 callersFunctionget_tensors
(obs)
rl_algorithms/a2c/demo.py:11
↓ 1 callersFunctionget_tensors
(obs, env_type, filters=None)
rl_algorithms/ppo/demo.py:17
↓ 1 callersFunctionget_tensors
(obs)
rl_algorithms/dqn_algos/demo.py:7
↓ 1 callersFunctionget_tensors
(x)
rl_algorithms/trpo/demo.py:12
↓ 1 callersMethodget_value
(self, timestep)
rl_algorithms/dqn_algos/utils.py:11
↓ 1 callersMethodlearn
(self)
rl_algorithms/sac/sac_agent.py:67
↓ 1 callersMethodlearn
the learning part
rl_algorithms/ddpg/ddpg_agent.py:59
↓ 1 callersMethodlearn
(self)
rl_algorithms/a2c/a2c_agent.py:31
↓ 1 callersMethodlearn
(self)
rl_algorithms/ppo/ppo_agent.py:48
↓ 1 callersMethodlearn
(self)
rl_algorithms/dqn_algos/dqn_agent.py:42
↓ 1 callersMethodlearn
(self)
rl_algorithms/trpo/trpo_agent.py:28
↓ 1 callersFunctionline_search
(model, loss_fn, x, full_step, expected_rate, obs, adv, actions, pi_old, max_backtracks=10, accept_ratio=0.1)
rl_algorithms/trpo/utils.py:39
↓ 1 callersFunctionload_results
(dir)
rl_utils/logger/bench.py:125
↓ 1 callersMethodlogkv
(self, key, val)
rl_utils/logger/logger.py:311
↓ 1 callersMethodlogkv_mean
(self, key, val)
rl_utils/logger/logger.py:314
↓ 1 callersFunctionmain
()
rl_utils/logger/plot.py:76
↓ 1 callersFunctionmake_env
(rank)
rl_utils/env_wrapper/create_env.py:40
↓ 1 callersFunctionmake_output_format
(format, ev_dir, log_suffix='')
rl_utils/logger/logger.py:174
↓ 1 callersMethodnoise
(self)
rl_algorithms/ddpg/utils.py:19
↓ 1 callersFunctionnormalize
(obs, mean, std, clip)
rl_algorithms/ddpg/demo.py:7
↓ 1 callersFunctionnormalize
(x, mean, std, clip=10)
rl_algorithms/ppo/demo.py:11
↓ 1 callersFunctionplot_curves
(xy_list, xaxis, title, plt_order, beta=False)
rl_utils/logger/plot.py:45
↓ 1 callersFunctionprofile_kv
(scopename)
rl_utils/logger/logger.py:263
↓ 1 callersMethodpush
(self, x)
rl_utils/running_filter/running_filter.py:14
↓ 1 callersMethodrecompute_stats
(self)
rl_utils/mpi_utils/normalizer.py:40
↓ 1 callersMethodreset
Reset all the environments and return an array of observations, or a dict of observation arrays. If step_async is still doin
rl_utils/env_wrapper/__init__.py:47
↓ 1 callersMethodreset_state
(self)
rl_utils/logger/bench.py:44
↓ 1 callersFunctionrolling_window
(a, window)
rl_utils/logger/plot.py:21
↓ 1 callersMethodrsample
Sampling in the reparameterization case.
rl_algorithms/sac/utils.py:47
↓ 1 callersFunctionselect_actions
(pi, dist_type, env_type)
rl_algorithms/ppo/utils.py:8
↓ 1 callersFunctionselect_actions
(action_value, explore_eps)
rl_algorithms/dqn_algos/utils.py:16
↓ 1 callersFunctionselect_actions
(pi)
rl_algorithms/trpo/utils.py:6
↓ 1 callersMethodset_comm
(self, comm)
rl_utils/logger/logger.py:346
↓ 1 callersFunctionset_level
Set logging threshold on current logger.
rl_utils/logger/logger.py:243
↓ 1 callersMethodset_level
(self, level)
rl_utils/logger/logger.py:343
↓ 1 callersMethodstart_new_episode
(self)
rl_algorithms/dqn_algos/utils.py:35
↓ 1 callersMethodstep
Step the environments synchronously. This is available for backwards compatibility.
rl_utils/env_wrapper/__init__.py:99
↓ 1 callersMethodsync
(self, local_sum, local_sumsq, local_count)
rl_utils/mpi_utils/normalizer.py:34
↓ 1 callersFunctionts2xy
(ts, xaxis)
rl_utils/logger/plot.py:31
↓ 1 callersFunctionwindow_func
(x, y, window, func)
rl_utils/logger/plot.py:26
↓ 1 callersMethodwrite_row
(self, epinfo)
rl_utils/logger/bench.py:116
↓ 1 callersMethodwritekvs
(self, kvs)
rl_utils/logger/logger.py:20
↓ 1 callersMethodwriteseq
(self, seq)
rl_utils/logger/logger.py:24
Method__array__
(self, dtype=None)
rl_utils/env_wrapper/atari_wrapper.py:250
Method__call__
(self, x, update=True)
rl_utils/running_filter/running_filter.py:59
Method__del__
(self)
rl_utils/env_wrapper/multi_envs_wrapper.py:103
Method__getattr__
(self, name)
rl_utils/env_wrapper/__init__.py:162
Method__getitem__
(self, i)
rl_utils/env_wrapper/atari_wrapper.py:259
Method__getstate__
(self)
rl_utils/env_wrapper/__init__.py:188
Method__init__
(self, normal_mean, normal_std, epsilon=1e-6, cuda=False)
rl_algorithms/sac/utils.py:11
Method__init__
(self, pis, cuda=False)
rl_algorithms/sac/utils.py:62
Method__init__
(self, input_dims, action_dims, hidden_size, log_std_min, log_std_max)
rl_algorithms/sac/models.py:24
Method__init__
(self, env, args)
rl_algorithms/sac/sac_agent.py:23
Method__init__
(self, std, action_dim, mean=0, theta=0.15, dt=1e-2, x0=None)
rl_algorithms/ddpg/utils.py:6
Method__init__
(self, obs_dims, action_dims)
rl_algorithms/ddpg/models.py:20
Method__init__
(self, env, args)
rl_algorithms/ddpg/ddpg_agent.py:22
Method__init__
(self)
rl_algorithms/a2c/models.py:7
Method__init__
(self, envs, args)
rl_algorithms/a2c/a2c_agent.py:9
Method__init__
(self, envs, args)
rl_algorithms/ppo/ppo_agent.py:12
Method__init__
(self)
rl_algorithms/ppo/models.py:59
Method__init__
(self, num_actions)
rl_algorithms/ppo/models.py:86
Method__init__
(self, total_timesteps, final_ratio, init_ratio=1.0)
rl_algorithms/dqn_algos/utils.py:6
Method__init__
(self, history_length=100)
rl_algorithms/dqn_algos/utils.py:24
Method__init__
(self)
rl_algorithms/dqn_algos/models.py:7
Method__init__
(self, env, args)
rl_algorithms/dqn_algos/dqn_agent.py:13
Method__init__
(self, env, args)
rl_algorithms/trpo/trpo_agent.py:10
Method__init__
(self, num_states, num_actions)
rl_algorithms/trpo/models.py:6
Method__init__
(self, num_states)
rl_algorithms/trpo/models.py:18
Method__init__
Arguments: env_fns: iterable of callables - functions that create environments to run in subprocesses. Need to be cloud-pickleable
rl_utils/env_wrapper/multi_envs_wrapper.py:39
Method__init__
Sample initial states by taking random number of no-ops on reset. No-op is assumed to be action 0.
rl_utils/env_wrapper/atari_wrapper.py:16
Method__init__
Take action on reset for environments that are fixed until firing.
rl_utils/env_wrapper/atari_wrapper.py:45
Method__init__
Make end-of-life == end-of-episode, but only reset on true game over. Done by DeepMind for the DQN and co. since it helps value estimation.
rl_utils/env_wrapper/atari_wrapper.py:65
Method__init__
Return only every `skip`-th frame
rl_utils/env_wrapper/atari_wrapper.py:101
Method__init__
(self, env)
rl_utils/env_wrapper/atari_wrapper.py:129
Method__init__
Stack k last frames. Returns lazy array, which is much more memory efficient. See Also -------- baselines.common.ata
rl_utils/env_wrapper/atari_wrapper.py:192
Method__init__
(self, env)
rl_utils/env_wrapper/atari_wrapper.py:223
Method__init__
This object ensures that common frames between the observations are only stored once. It exists purely to optimize memory usage which can be h
rl_utils/env_wrapper/atari_wrapper.py:233
Method__init__
(self, env, max_episode_steps=None)
rl_utils/env_wrapper/atari_wrapper.py:296
Method__init__
(self)
rl_utils/env_wrapper/__init__.py:11
Method__init__
(self)
rl_utils/env_wrapper/__init__.py:22
Method__init__
(self, venv, observation_space=None, action_space=None)
rl_utils/env_wrapper/__init__.py:136
Method__init__
(self, x)
rl_utils/env_wrapper/__init__.py:185
Method__init__
(self, venv, nstack)
rl_utils/env_wrapper/frame_stack.py:7
Method__init__
(self, filename_or_file)
rl_utils/logger/logger.py:28
Method__init__
(self, filename)
rl_utils/logger/logger.py:89
Method__init__
(self, filename)
rl_utils/logger/logger.py:103
Method__init__
(self, dir)
rl_utils/logger/logger.py:143
Method__init__
(self, dir, output_formats, comm=None)
rl_utils/logger/logger.py:301
Method__init__
(self, env, filename, allow_early_resets=False, reset_keywords=(), info_keywords=())
rl_utils/logger/bench.py:14
Method__init__
(self, filename, header='', extra_keys=())
rl_utils/logger/bench.py:100
Method__init__
(self, size, eps=1e-2, default_clip_range=np.inf)
rl_utils/mpi_utils/normalizer.py:6
Method__init__
(self, memory_size)
rl_utils/experience_replay/experience_replay.py:10
Method__init__
(self, shape)
rl_utils/running_filter/running_filter.py:9
Method__init__
(self, shape, demean=True, destd=True, clip=10.0)
rl_utils/running_filter/running_filter.py:52
Method__len__
(self)
rl_utils/env_wrapper/atari_wrapper.py:256
Method__setstate__
(self, ob)
rl_utils/env_wrapper/__init__.py:192
Function_thunk
()
rl_utils/env_wrapper/create_env.py:41
Methodclose
(self)
rl_utils/env_wrapper/__init__.py:153
Methodclose
(self)
rl_utils/logger/logger.py:84
Methodclose
(self)
rl_utils/logger/logger.py:99
← previousnext →101–200 of 284, ranked by callers