MCPcopy Create free account

hub / github.com/PacktPublishing/Hands-On-Reinforcement-Learning-for-Games / functions

Functions857 in github.com/PacktPublishing/Hands-On-Reinforcement-Learning-for-Games

↓ 1 callersFunctionexpect_alpha
(t)
Chapter05/Chapter_5/Chapter_5_2.py:33
↓ 1 callersFunctionexpect_alpha
(t)
Chapter05/Chapter_5/Chapter_5_4.py:41
↓ 1 callersFunctionexpect_alpha
(t)
Chapter05/Chapter_5/Chapter_5_3.py:33
↓ 1 callersFunctionexpect_alpha
(t)
Chapter05/Chapter_5/Chapter_5_5y.py:45
↓ 1 callersFunctionexpect_alpha
(t)
Chapter05/Chapter_5/Chapter_5_1.py:33
↓ 1 callersFunctionexpect_epsilon
(t)
Chapter05/Chapter_5/Chapter_5_2.py:30
↓ 1 callersFunctionexpect_epsilon
(t)
Chapter05/Chapter_5/Chapter_5_4.py:32
↓ 1 callersFunctionexpect_epsilon
(t)
Chapter05/Chapter_5/Chapter_5_3.py:30
↓ 1 callersFunctionexpect_epsilon
(t)
Chapter05/Chapter_5/Chapter_5_5y.py:36
↓ 1 callersFunctionexpect_epsilon
(t)
Chapter05/Chapter_5/Chapter_5_1.py:30
↓ 1 callersMethodextended_terms
(self, prior_logits, states, obses, advs, targets, actions, log_probs)
Chapter13/Chapter_13/obs_tower2/prierarchy.py:62
↓ 1 callersFunctionf
()
Chapter13/Chapter_13/obs_tower2/bugs/hang_video.py:17
↓ 1 callersMethodfeature_size
(self)
Chapter14/Chapter_14/actor_critic.py:67
↓ 1 callersMethodfeature_size
(self)
Chapter14/Chapter_14/Chapter_14_I2A.py:110
↓ 1 callersMethodfeature_size
(self)
Chapter14/Chapter_14/Chapter_14_Imagine_A2C.py:77
↓ 1 callersMethodfeature_size
(self)
Chapter07/Chapter_7/Chapter_7_DQN_CNN.py:88
↓ 1 callersFunctionfetch_leaderboard_page
(page)
Chapter13/Chapter_13/obs_tower2/scripts/legacy/leaderboard.py:40
↓ 1 callersMethodfind_prefixsum_idx
Find the highest index `i` in the array such that sum(arr[0] + arr[1] + ... + arr[i - i]) <= prefixsum if array values are probabi
Chapter10/Chapter_10/common/replay_buffer.py:105
↓ 1 callersMethodfind_prefixsum_idx
Find the highest index `i` in the array such that sum(arr[0] + arr[1] + ... + arr[i - i]) <= prefixsum if array values are probabi
Chapter11/Chapter_11/common/replay_buffer.py:105
↓ 1 callersMethodfinish_early
(self)
Chapter13/Chapter_13/obs_tower2/recorder/env_interactor.py:60
↓ 1 callersMethodforward
(self, x)
Chapter07/Chapter_7/Chapter_7_DDQN_wprority.py:139
↓ 1 callersMethodforward
(self, x)
Chapter07/Chapter_7/Chapter_7_DDQN.py:69
↓ 1 callersMethodforward
(self, x)
Chapter07/Chapter_7/Chapter_7_DQN_CNN.py:82
↓ 1 callersMethodforward
(self, x)
Chapter07/Chapter_7/Chapter_7_DoubleDQN.py:60
↓ 1 callersMethodforward
(self, x)
Chapter06/Chapter_6/Chapter_6_DQN_lunar.py:60
↓ 1 callersMethodforward
(self, x)
Chapter06/Chapter_6/Chapter_6_DQN_wplay.py:60
↓ 1 callersMethodforward
(self, x)
Chapter10/Chapter_10/Chapter_10_Rainbow.py:38
↓ 1 callersMethodforward
(self, x)
Chapter10/Chapter_10/Chapter_10_HDQN.py:41
↓ 1 callersMethodforward
(self, x)
Chapter10/Chapter_10/Chapter_10_C51.py:84
↓ 1 callersMethodforward
(self, x)
Chapter10/Chapter_10/Chapter_10_NDQN.py:77
↓ 1 callersMethodforward
(self, x)
Chapter11/Chapter_11/Chapter_10_Rainbow.py:38
↓ 1 callersMethodforward
(self, x)
Chapter11/Chapter_11/Chapter_11_Unity_Rainbow.py:48
↓ 1 callersFunctiongenerateInitialState
()
Chapter04/Chapter_4/Chapter_4_3.py:25
↓ 1 callersFunctiongenerateInitialState
()
Chapter04/Chapter_4/Chapter_4_2.py:20
↓ 1 callersFunctiongenerateInitialState
()
Chapter04/Chapter_4/Chapter_4_1.py:18
↓ 1 callersFunctiongenerateNextAction
()
Chapter04/Chapter_4/Chapter_4_3.py:29
↓ 1 callersFunctiongenerateNextAction
()
Chapter04/Chapter_4/Chapter_4_2.py:24
↓ 1 callersFunctiongenerateNextAction
()
Chapter04/Chapter_4/Chapter_4_1.py:22
↓ 1 callersFunctionget_action
(model, state, goal, epsilon=0.1)
Chapter14/Chapter_14/Chapter_14_wo_HER.py:80
↓ 1 callersFunctionget_action
(model, state, goal, epsilon=0.1)
Chapter14/Chapter_14/Chapter_14_HER.py:80
↓ 1 callersMethodget_action
(self)
Chapter13/Chapter_13/obs_tower2/recorder/env_interactor.py:35
↓ 1 callersFunctionget_flat_grad_from
(net, grad_grad=False)
Chapter08/Chapter_8/TRPO/utils.py:39
↓ 1 callersFunctionget_kl
()
Chapter08/Chapter_8/TRPO/main.py:122
↓ 1 callersFunctionget_loss
(volatile=False)
Chapter08/Chapter_8/TRPO/main.py:110
↓ 1 callersFunctiongoToPrevious
()
Chapter13/Chapter_13/obs_tower2/labeler/assets/script.js:53
↓ 1 callersFunctiongreedy
(values)
Chapter01/Chapter_1/Chapter_1_4.py:22
↓ 1 callersFunctiongreedy
(values)
Chapter01/Chapter_1/Chapter_1_3.py:10
↓ 1 callersFunctiongreedy
(values)
Chapter01/Chapter_1/Chapter_1_5.py:22
↓ 1 callersFunctiongreedy
(values)
Chapter01/Chapter_1/Chapter_1_2.py:10
↓ 1 callersFunctionimage_fn
()
Chapter13/Chapter_13/obs_tower2/scripts/legacy/export.py:17
↓ 1 callersFunctionimprove_policy
(env, gamma=1.0, terms=1e9)
Chapter02/Chapter_2/Chapter_2_6.py:30
↓ 1 callersFunctionimprove_policy
(env, gamma=1.0, terms=1e9)
Chapter02/Chapter_2/Chapter_2_8.py:30
↓ 1 callersMethodinner_loop
(self, rollout, num_steps=12, batch_size=None)
Chapter13/Chapter_13/obs_tower2/ppo.py:38
↓ 1 callersMethodinsert
(self, step, state, action, reward, mask)
Chapter14/Chapter_14/actor_critic.py:88
↓ 1 callersMethodinsert
(self, step, state, action, reward, mask)
Chapter14/Chapter_14/Chapter_14_Imagine_A2C.py:99
↓ 1 callersFunctionlearn
(state, action, reward, next_state)
Chapter01/Chapter_1/Chapter_1_4.py:25
↓ 1 callersFunctionlearn
(state, action, reward, next_state)
Chapter01/Chapter_1/Chapter_1_5.py:25
↓ 1 callersFunctionlinesearch
(model, f, x, fullstep, expected_improve_rate,
Chapter08/Chapter_8/TRPO/trpo.py:27
↓ 1 callersFunctionloadNewSample
()
Chapter13/Chapter_13/obs_tower2/labeler/assets/script.js:46
↓ 1 callersFunctionlog_floors
For all the completed episodes in a rollout, print to standard output the attained floor numbers.
Chapter13/Chapter_13/obs_tower2/util.py:79
↓ 1 callersMethodlog_probs
(r)
Chapter13/Chapter_13/obs_tower2/prierarchy.py:77
↓ 1 callersMethodlog_probs
Get the initial log probabilities from the model at each timestep.
Chapter13/Chapter_13/obs_tower2/rollout.py:73
↓ 1 callersMethodlogits
Get the actor logits from the model at each timestep.
Chapter13/Chapter_13/obs_tower2/rollout.py:80
↓ 1 callersFunctionlookahead
(env, state, V, gamma)
Chapter02/Chapter_2/Chapter_2_6.py:26
↓ 1 callersFunctionmain
( experiment='dev', env_name='Particles2D-v1', adapt_lr=0.1, meta_lr=0.001,
Chapter14/Chapter_14/Chapter_14_MAML_Dice.py:63
↓ 1 callersFunctionmain
()
Chapter14/Chapter_14/Chapter_14_Imagination.py:160
↓ 1 callersFunctionmain
( experiment='dev', env_name='Particles2D-v1', adapt_lr=0.1, meta_lr=0.01,
Chapter14/Chapter_14/Chapter_14_MetaSGG-VPG.py:52
↓ 1 callersFunctionmain
()
Chapter14/Chapter_14/Chapter_14_Imagine.py:160
↓ 1 callersFunctionmain
()
Chapter14/Chapter_14/Chapter_14_I2A.py:220
↓ 1 callersFunctionmain
()
Chapter14/Chapter_14/Chapter_14_Imagine_A2C.py:118
↓ 1 callersFunctionmain
(lr=0.005, maml_lr=0.01, iterations=1000, ways=5, shots=1, tps=32, fas=5, device=torch.device("cpu"),
Chapter14/Chapter_14/Chapter_14_learn.py:56
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/bugs/fix_seed_nums.py:15
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/run_clone.py:40
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/run_ppo.py:28
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/run_classifier.py:35
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/run_tail.py:35
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/eval_classifier.py:14
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/plot_logs.py:22
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/legacy/leaderboard.py:10
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/legacy/run_gail.py:34
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/legacy/run_prierarchy.py:28
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/legacy/export.py:16
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/legacy/eval_floors.py:21
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/scripts/legacy/catch_hang.py:24
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/recorder/record.py:27
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/recorder/record_tail.py:23
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/recorder/verify.py:19
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/recorder/stats.py:13
↓ 1 callersFunctionmain
()
Chapter13/Chapter_13/obs_tower2/labeler/stats.py:11
↓ 1 callersFunctionmake_atari
(env_id)
Chapter07/Chapter_7/wrappers.py:212
↓ 1 callersMethodmake_batch
(self)
Chapter09/Chapter_9/Chapter_9_PPO.py:40
↓ 1 callersMethodmake_batch
(self)
Chapter09/Chapter_9/Chapter_9_PPO_LSTM.py:47
↓ 1 callersMethodmake_batch
(self)
Chapter08/Chapter_8/Chapter_8_ActorCritic.py:36
↓ 1 callersFunctionmake_env
()
Chapter14/Chapter_14/Chapter_14_Imagination.py:164
↓ 1 callersFunctionmake_env
()
Chapter14/Chapter_14/Chapter_14_Imagine.py:187
↓ 1 callersFunctionmake_env
()
Chapter14/Chapter_14/Chapter_14_I2A.py:69
↓ 1 callersFunctionmake_env
()
Chapter14/Chapter_14/Chapter_14_Imagine_A2C.py:122
↓ 1 callersMethodmin
Returns min(arr[start], ..., arr[end])
Chapter11/Chapter_11/common/replay_buffer.py:139
↓ 1 callersFunctionmirror_action
Mirror an action, swapping left/right.
Chapter13/Chapter_13/obs_tower2/util.py:105
↓ 1 callersFunctionmixmatch
(real_images, real_labels, other_images, other_labels)
Chapter13/Chapter_13/obs_tower2/scripts/run_classifier.py:81
← previousnext →301–400 of 857, ranked by callers