Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
0
02465students
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
02465material
02465students
Commits
0545a3cc
Commit
0545a3cc
authored
1 month ago
by
tuhe
Browse files
Options
Downloads
Patches
Plain Diff
Updates
parent
5e943cbe
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
irlc/lectures/lec03/lecture_03_pendulum_random.py
+8
-0
8 additions, 0 deletions
irlc/lectures/lec03/lecture_03_pendulum_random.py
with
8 additions
and
0 deletions
irlc/lectures/lec03/lecture_03_pendulum_random.py
0 → 100644
+
8
−
0
View file @
0545a3cc
# This file may not be shared/redistributed without permission. Please read copyright notice in the git repo. If this file contains other copyright notices disregard this text.
from
irlc
import
Agent
,
train
from
irlc.ex04.model_pendulum
import
GymSinCosPendulumEnvironment
if
__name__
==
"
__main__
"
:
env
=
GymSinCosPendulumEnvironment
(
Tmax
=
20
,
render_mode
=
'
human
'
)
train
(
env
,
Agent
(
env
),
num_episodes
=
1
)
env
.
close
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment