Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Flatland
Flatland
Commits
ac9c8016
Commit
ac9c8016
authored
May 03, 2019
by
Erik Nygren
Browse files
first tests with new tree search observation. looks good :)
parent
f1b63471
Pipeline
#480
failed with stage
in 1 minute and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
examples/training_navigation.py
View file @
ac9c8016
...
...
@@ -55,9 +55,9 @@ scores = []
dones_list
=
[]
action_prob
=
[
0
]
*
4
agent
=
Agent
(
state_size
,
action_size
,
"FC"
,
0
)
#
agent.qnetwork_local.load_state_dict(torch.load('../flatland/baselines/Nets/avoid_checkpoint14900.pth'))
agent
.
qnetwork_local
.
load_state_dict
(
torch
.
load
(
'../flatland/baselines/Nets/avoid_checkpoint14900.pth'
))
demo
=
Fals
e
demo
=
Tru
e
def
max_lt
(
seq
,
val
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment