MCPcopy Create free account

hub / github.com/YeWR/EfficientZero / functions

Functions210 in github.com/YeWR/EfficientZero

↓ 1 callersMethodrepresentation
(self, obs_history)
core/model.py:75
↓ 1 callersMethodreward_phi
(self, x)
core/config.py:346
↓ 1 callersMethodsave_game
Save a game history block Parameters ---------- game: Any a game history block end_tag: bool T
core/replay_buffer.py:38
↓ 1 callersMethodset_config
(self, args)
core/config.py:372
↓ 1 callersMethodset_delta
core/ctree/cminimax.cpp:13
↓ 1 callersMethodset_game
(self, env_name)
core/config.py:290
↓ 1 callersFunctionset_seed
(seed)
core/utils.py:243
↓ 1 callersMethodset_transforms
(self)
config/atari/__init__.py:161
↓ 1 callersMethodset_weights
(self, weights)
core/storage.py:69
↓ 1 callersFunctiontrain
training process Parameters ---------- summary_writer: Any logging for tensorboard model_path: str model path for resu
core/train.py:426
↓ 1 callersFunctionupdate_tree_q
core/ctree/cnode.cpp:256
↓ 1 callersMethodvalue_phi
(self, x)
core/config.py:343
↓ 1 callersMethodvisit_softmax_temperature_fn
(self, num_moves, trained_steps)
core/config.py:287
MethodCMinMaxStats
core/ctree/cminimax.cpp:5
MethodCMinMaxStatsList
core/ctree/cminimax.cpp:47
MethodCNode
core/ctree/cnode.cpp:21
MethodCRoots
core/ctree/cnode.cpp:180
MethodCSearchResults
core/ctree/cnode.cpp:6
Method__init__
(self, min: int, max: int, delta=1.)
core/config.py:11
Method__init__
Base Config for EfficietnZero Parameters ---------- training_steps: int training steps while collecting data
core/config.py:22
Method__init__
(self, config=None)
core/replay_buffer.py:12
Method__init__
Queue storage Parameters ---------- threshold: int if the current size if larger than threshold, the data won't be
core/storage.py:7
Method__init__
Shared storage for models and others Parameters ---------- model: any models for self-play (update every checkpoin
core/storage.py:35
Method__init__
Data Worker for collecting data through self-play Parameters ---------- rank: int id of the worker replay_
core/selfplay_worker.py:17
Method__init__
Linear interpolation between initial_p and final_p over schedule_timesteps. After this many timesteps pass final_p is returned.
core/utils.py:15
Method__init__
Sample initial states by taking random number of no-ops on reset. No-op is assumed to be action 0.
core/utils.py:62
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.
core/utils.py:92
Method__init__
Return only every `skip`-th frame
core/utils.py:129
Method__init__
Warp frames to 84x84 as done in the Nature paper and later work. If the environment uses dictionary observations, `dict_space_key` ca
core/utils.py:171
Method__init__
(self, augmentation, shift_delta=4, image_shape=(96, 96))
core/dataset.py:12
Method__init__
(self, scale)
core/dataset.py:52
Method__init__
(self, config)
core/mcts.py:10
Method__init__
(self, env, action_space_size: int, discount: float, config=None)
core/game.py:10
Method__init__
Parameters ---------- action_space: int action space max_length: int max transition number of
core/game.py:37
Method__init__
CPU Batch Worker for reanalyzing targets, see Appendix. Prepare the context concerning CPU overhead Parameters ----------
core/reanalyze_worker.py:16
Method__init__
GPU Batch Worker for reanalyzing targets, see Appendix. receive the context from CPU maker and deal with GPU overheads Parameters
core/reanalyze_worker.py:268
Method__init__
Base Network schedule_timesteps. After this many timesteps pass final_p is returned. Parameters ---------- inv
core/model.py:54
Method__init__
(self)
config/atari/__init__.py:11
Method__init__
Atari Wrapper Parameters ---------- env: Any another env wrapper discount: float discount of e
config/atari/env_wrapper.py:7
Method__init__
(self, in_channels, out_channels, downsample=None, stride=1, momentum=0.1)
config/atari/model.py:60
Method__init__
Representation network Parameters ---------- observation_shape: tuple or list shape of observations: [C, W, H]
config/atari/model.py:138
Method__init__
Dynamics network Parameters ---------- num_blocks: int number of res blocks num_channels: int
config/atari/model.py:196
Method__init__
Prediction network Parameters ---------- action_space_size: int action space num_blocks: int n
config/atari/model.py:293
Method__init__
EfficientZero network Parameters ---------- observation_shape: tuple or list shape of observations: [C, W, H]
config/atari/model.py:367
Method_get_max_entropy
(action_space)
core/selfplay_worker.py:114
Function_test
(config, shared_storage)
core/test.py:17
Methodadd_test_log
(self, test_counter, test_dict)
core/storage.py:99
Functioncbatch_back_propagate
core/ctree/cnode.cpp:317
Functioncbatch_traverse
core/ctree/cnode.cpp:380
Methodclear
core/ctree/cminimax.cpp:26
Methodclear_buffer
(self)
core/replay_buffer.py:154
Methodclose
(self)
config/atari/env_wrapper.py:45
Methoddynamics
(self, encoded_state, reward_hidden, action)
config/atari/model.py:549
Methodepisodes_collected
(self)
core/replay_buffer.py:161
Methodforward
(self, x)
core/dataset.py:56
Methodforward
(self, x)
config/atari/model.py:68
Methodforward
(self, x)
config/atari/model.py:120
Methodforward
(self, x)
config/atari/model.py:174
Methodforward
(self, x, reward_hidden)
config/atari/model.py:247
Methodforward
(self, x)
config/atari/model.py:348
Methodget_batch_size
(self)
core/replay_buffer.py:165
Methodget_counter
(self)
core/storage.py:81
Methodget_game
(self, idx)
core/replay_buffer.py:72
Methodget_gradients
(self)
core/model.py:121
Methodget_max_episode_steps
(self)
config/atari/env_wrapper.py:24
Methodget_priorities
(self)
core/replay_buffer.py:168
Methodget_start_signal
(self)
core/storage.py:63
Methodget_target_weights
(self)
core/storage.py:72
Methodget_targets
(self, i)
core/game.py:164
Methodget_trajectories
core/ctree/cnode.cpp:226
Methodget_uniform_network
(self)
config/atari/__init__.py:107
Methodget_worker_logs
(self)
core/storage.py:106
Methodincr_counter
(self)
core/storage.py:78
Methodlegal_actions
(self)
core/game.py:16
Methodlegal_actions
(self)
core/game.py:122
Methodlegal_actions
(self)
config/atari/env_wrapper.py:21
Methodobservation
(self, obs)
core/utils.py:201
Methodprediction
(self, encoded_state)
config/atari/model.py:537
Methodprepare_batch_context
Prepare a batch context that contains: game_lst: a list of game histories game_pos_lst: transition index in ga
core/replay_buffer.py:79
Methodprint_out
core/ctree/cnode.cpp:123
Methodremove_to_fit
(self)
core/replay_buffer.py:129
Methodrender
(self, mode='human', **kwargs)
core/utils.py:157
Methodrepresentation
(self, observation)
config/atari/model.py:541
Methodreset
Do no-op action for a number of steps in [1, noop_max].
core/utils.py:72
Methodreset
Reset only when lives are exhausted. This way all states are still reachable even though lives are episodic, and the learner need not
core/utils.py:114
Methodreset
(self, **kwargs)
core/utils.py:154
Methodreset
(self, **kwargs)
config/atari/env_wrapper.py:36
Methodrun
(self)
core/selfplay_worker.py:104
Methodrun
(self)
core/reanalyze_worker.py:230
Methodrun
(self)
core/reanalyze_worker.py:499
Methodsave_pools
(self, pools, gap_step)
core/replay_buffer.py:30
Methodscalar_loss
(self, prediction, target)
core/config.py:300
Methodset_data_worker_logs
(self, eps_len, eps_len_max, eps_ori_reward, eps_reward, eps_reward_max, temperature, visit_entropy, priority_
core/storage.py:84
Methodset_game
(self, env_name, save_video=False, save_path=None, video_callable=None)
config/atari/__init__.py:96
Methodset_gradients
(self, gradients)
core/model.py:128
Methodset_start_signal
(self)
core/storage.py:60
Methodset_target_weights
(self, weights)
core/storage.py:75
Methodstep
(self, ac)
core/utils.py:87
Methodstep
(self, action)
core/utils.py:100
Methodstep
Repeat action, sum reward, and max over last observations.
core/utils.py:137
← previousnext →101–200 of 210, ranked by callers