Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rl-audio-nav
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
RobotLearn
rl-audio-nav
Commits
26bcff74
Commit
26bcff74
authored
1 month ago
by
Gaetan Lepage
Browse files
Options
Downloads
Patches
Plain Diff
rl/wer_map_env: only warn about dir map on first step
parent
c82dad56
Branches
master
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rl_audio_nav/rl/environments/map_envs/wer_map_env.py
+5
-3
5 additions, 3 deletions
rl_audio_nav/rl/environments/map_envs/wer_map_env.py
with
5 additions
and
3 deletions
rl_audio_nav/rl/environments/map_envs/wer_map_env.py
+
5
−
3
View file @
26bcff74
...
...
@@ -297,9 +297,11 @@ class RlanWerMapEnv(RlanEnv):
wer
=
wer_map_array
[
n_x
,
n_y
,
agent_orientation
]
else
:
self
.
_logger
.
warning
(
"
Array is directional, but WER map isn
'
t!
\n
Falling back to W[x, y] WER
"
)
# Only warn on the first step, otherwise it is too verbose
if
self
.
step_counter
==
0
:
self
.
_logger
.
warning
(
"
Array is directional, but WER map isn
'
t!
\n
Falling back to W[x, y] WER
"
)
wer
=
wer_map_array
[
n_x
,
n_y
]
else
:
...
...
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