Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TianhongDai/distributed-ppo
/ functions
Functions
31 in github.com/TianhongDai/distributed-ppo
⨍
Functions
31
◇
Types & classes
8
↓ 7 callers
Method
get
(self)
utils.py:28
↓ 7 callers
Method
reset
(self)
utils.py:36
↓ 2 callers
Method
add_gradient
(self, models)
utils.py:66
↓ 2 callers
Method
increment
(self)
utils.py:32
↓ 2 callers
Method
normalize
(self, x)
utils.py:86
↓ 2 callers
Method
normalize_filter
(self, x, mean, std)
dppo_agent.py:225
↓ 2 callers
Method
switch
(self)
utils.py:18
↓ 1 callers
Method
__init__
(self, num_inputs, num_actions)
models.py:9
↓ 1 callers
Method
add
(self, reward)
utils.py:46
↓ 1 callers
Method
calculate_discounted_reward
(self, state_batch_tensor, done_batch, reward_batch, actions_batch_tensor)
dppo_agent.py:137
↓ 1 callers
Method
calculate_the_gradients
(self, state_batch_tensor, actions_batch, returns, advantages, old_action_prob, critic_shared_grad_buffer, \
dppo_agent.py:87
↓ 1 callers
Method
get_results
(self)
utils.py:106
↓ 1 callers
Method
select_actions
(self, alpha, beta)
dppo_agent.py:178
↓ 1 callers
Method
test_network
(self, model_path)
dppo_agent.py:189
↓ 1 callers
Method
update_network
(self, brain_memory, critic_shared_grad_buffer, actor_shared_grad_buffer, \ share
dppo_agent.py:64
Method
__init__
(self)
utils.py:9
Method
__init__
(self)
utils.py:24
Method
__init__
(self)
utils.py:42
Method
__init__
(self, models)
utils.py:60
Method
__init__
(self, num_inputs)
utils.py:79
Method
__init__
(self, num_inputs)
models.py:36
Method
__init__
(self, args)
dppo_agent.py:12
Function
achieve_args
()
arguments.py:5
Function
chief_worker
(num_workers, traffic_signal, critic_counter, actor_counter, critic_shared_model, actor_shared_model, \ cr
chief.py:5
Method
forward
(self, x)
models.py:25
Method
forward
(self, x)
models.py:47
Method
get
(self)
utils.py:13
Method
get
(self)
utils.py:50
Method
reset
(self)
utils.py:54
Method
reset
(self)
utils.py:71
Method
train_network
(self, traffic_signal, critic_counter, actor_counter, shared_critic_model, shared_actor_model, \
dppo_agent.py:24