Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.face
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
bob
bob.bio.face
Commits
f95d568a
Commit
f95d568a
authored
9 years ago
by
Manuel Günther
Browse files
Options
Downloads
Patches
Plain Diff
Fixed warning in evaluation in dry-run mode
parent
dd636293
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/bio/face/script/baselines.py
+1
-2
1 addition, 2 deletions
bob/bio/face/script/baselines.py
with
1 addition
and
2 deletions
bob/bio/face/script/baselines.py
+
1
−
2
View file @
f95d568a
...
@@ -240,7 +240,6 @@ def main(command_line_parameters = None):
...
@@ -240,7 +240,6 @@ def main(command_line_parameters = None):
# print the command so that it can easily be re-issued
# print the command so that it can easily be re-issued
logger
.
info
(
"
Executing command:
\n
%s
"
,
bob
.
bio
.
base
.
tools
.
command_line
(
command
))
logger
.
info
(
"
Executing command:
\n
%s
"
,
bob
.
bio
.
base
.
tools
.
command_line
(
command
))
# import ipdb; ipdb.set_trace()
# run the command
# run the command
if
not
args
.
dry_run
:
if
not
args
.
dry_run
:
subprocess
.
call
(
command
)
subprocess
.
call
(
command
)
...
@@ -305,7 +304,7 @@ def main(command_line_parameters = None):
...
@@ -305,7 +304,7 @@ def main(command_line_parameters = None):
result_zt_eval
.
append
(
os
.
path
.
join
(
ztnorm_sub_dir
,
'
scores-eval
'
))
result_zt_eval
.
append
(
os
.
path
.
join
(
ztnorm_sub_dir
,
'
scores-eval
'
))
# check if we have found some results
# check if we have found some results
if
not
result_dev
:
if
not
result_dev
and
not
args
.
dry_run
:
logger
.
warn
(
"
No result files were detected -- skipping evaluation.
"
)
logger
.
warn
(
"
No result files were detected -- skipping evaluation.
"
)
return
return
...
...
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