Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/rlcode/reinforcement-learning
/ 2-ppo.py
File
2-ppo.py
3-atari/2-ppo.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"PPO agent
for
Atari (Breakout / Pong).
2
3
Schulman et al., 2017:
"Proximal Policy Optimization Algorithms"
4
(arXiv:1707.06347). Same clipped-surrogate + GAE objective
as
the
Callers
nothing calls this directly
Calls
12
parse_args
Function · 0.90
pick_device
Function · 0.90
make_env
Function · 0.90
run_test_loop
Function · 0.90
make_vec_env
Function · 0.90
append
Method · 0.80
ActorCritic
Class · 0.70
compute_gae
Function · 0.70
reset
Method · 0.45
sample
Method · 0.45
step
Method · 0.45
log
Method · 0.45
Tested by
no test coverage detected