Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pytorch/tutorials
/ mario_rl_tutorial.py
File
mario_rl_tutorial.py
intermediate_source/mario_rl_tutorial.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# -*- coding: utf-8 -*-
2
""
"
3
Train a Mario-playing RL Agent
4
===============================
Callers
nothing calls this directly
Calls
12
SkipFrame
Class · 0.85
GrayScaleObservation
Class · 0.85
ResizeObservation
Class · 0.85
Mario
Class · 0.85
MetricLogger
Class · 0.85
step
Method · 0.80
act
Method · 0.80
cache
Method · 0.80
learn
Method · 0.80
log_step
Method · 0.80
log_episode
Method · 0.80
record
Method · 0.80
Tested by
no test coverage detected