Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Howuhh/prioritized_experience_replay
/ functions
Functions
26 in github.com/Howuhh/prioritized_experience_replay
⨍
Functions
26
◇
Types & classes
4
↓ 14 callers
Function
device
(force_cpu=True)
memory/utils.py:15
↓ 3 callers
Method
get
(self, cumsum)
memory/tree.py:43
↓ 3 callers
Method
sample
(self, batch_size)
memory/buffer.py:139
↓ 3 callers
Method
update
(self, batch, weights=None)
train.py:38
↓ 2 callers
Method
act
(self, state)
train.py:32
↓ 2 callers
Method
add
(self, value, data)
memory/tree.py:36
↓ 2 callers
Function
run_experiment
(config, use_priority=False, n_seeds=10)
train.py:147
↓ 2 callers
Method
update
(self, data_idx, value)
memory/tree.py:25
↓ 1 callers
Method
add
(self, transition)
memory/buffer.py:125
↓ 1 callers
Function
evaluate_policy
(env_name, agent, episodes=5, seed=0)
train.py:66
↓ 1 callers
Function
main
()
plots/sampling.py:34
↓ 1 callers
Function
sample_cumsum
(tree, batch_size)
plots/sampling.py:23
↓ 1 callers
Function
sample_segments
(tree, batch_size)
plots/sampling.py:8
↓ 1 callers
Method
save
(self)
train.py:62
↓ 1 callers
Function
set_seed
(env, seed=0)
memory/utils.py:7
↓ 1 callers
Method
soft_update
(self, target, source)
train.py:28
↓ 1 callers
Function
train
(env_name, model, buffer, timesteps=200_000, batch_size=128, eps_max=0.1, eps_min=0.0, test_every=50
train.py:83
↓ 1 callers
Method
update_priorities
(self, data_idxs, priorities)
memory/buffer.py:98
Method
__init__
(self, state_size, action_size, gamma, tau, lr)
train.py:14
Method
__init__
(self, size)
memory/tree.py:13
Method
__init__
(self, state_size, action_size, buffer_size, eps=1e-2, alpha=0.1, beta=0.1)
memory/buffer.py:10
Method
__init__
(self, state_size, action_size, buffer_size)
memory/buffer.py:113
Method
__repr__
(self)
memory/tree.py:60
Method
add
(self, transition)
memory/buffer.py:30
Method
sample
(self, batch_size)
memory/buffer.py:47
Method
total
(self)
memory/tree.py:22