Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
baselines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
xzhaoma
baselines
Commits
07724835
Commit
07724835
authored
5 years ago
by
Erik Nygren
Browse files
Options
Downloads
Patches
Plain Diff
Update Getting_Started_Training.md
parent
ac0c34ec
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
torch_training/Getting_Started_Training.md
+13
-0
13 additions, 0 deletions
torch_training/Getting_Started_Training.md
with
13 additions
and
0 deletions
torch_training/Getting_Started_Training.md
+
13
−
0
View file @
07724835
...
@@ -50,3 +50,16 @@ Each node is filled with information gathered along the path to the node. Curren
...
@@ -50,3 +50,16 @@ Each node is filled with information gathered along the path to the node. Curren
-
9: agent in the opposite direction
-
9: agent in the opposite direction
-
n = number of agents present other direction than myself
-
n = number of agents present other direction than myself
-
0 = no agent present other direction than myself
-
0 = no agent present other direction than myself
For training purposes the tree is flattend into a single array.
## Training
Let us now train a simle double dueling DQN agent to navigate to its target on flatland. We start by importing flatland
```
from flatland.envs.generators import complex_rail_generator
from flatland.envs.observations import TreeObsForRailEnv
from flatland.envs.rail_env import RailEnv
from flatland.utils.rendertools import RenderTool
from utils.observation_utils import norm_obs_clip, split_tree
```
\ No newline at end of file
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