Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flatland
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
sfwatergit
Flatland
Commits
8947c150
Commit
8947c150
authored
5 years ago
by
Erik Nygren
Browse files
Options
Downloads
Patches
Plain Diff
bugfix in observation and prediction for tree observation
parent
96f670b3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/training_example.py
+0
-2
0 additions, 2 deletions
examples/training_example.py
notebooks/Scene_Editor.ipynb
+1
-1
1 addition, 1 deletion
notebooks/Scene_Editor.ipynb
with
1 addition
and
3 deletions
examples/training_example.py
+
0
−
2
View file @
8947c150
...
...
@@ -76,8 +76,6 @@ for trials in range(1, n_trials + 1):
for
a
in
range
(
env
.
get_num_agents
()):
action
=
agent
.
act
(
obs
[
a
])
action_dict
.
update
({
a
:
action
})
# Uncomment next line to print observation of an agent
# TreeObservation.util_print_obs_subtree((obs[a]))
# Environment step which returns the observations for all agents, their corresponding
# reward and whether their are done
...
...
This diff is collapsed.
Click to expand it.
notebooks/Scene_Editor.ipynb
+
1
−
1
View file @
8947c150
...
...
@@ -70,7 +70,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "
4153480c3fbe4fd9864a4d52b416477c
",
"model_id": "
0b92e7084e37450cbfb3855dc3a58543
",
"version_major": 2,
"version_minor": 0
},
...
...
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