Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.base
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.base
Commits
7bc0a656
Commit
7bc0a656
authored
9 years ago
by
Manuel Günther
Browse files
Options
Downloads
Patches
Plain Diff
Fixed error in grid_search
parent
2a8d08f9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/bio/base/script/grid_search.py
+3
-3
3 additions, 3 deletions
bob/bio/base/script/grid_search.py
with
3 additions
and
3 deletions
bob/bio/base/script/grid_search.py
+
3
−
3
View file @
7bc0a656
...
...
@@ -7,7 +7,7 @@ from . import verify
import
argparse
,
os
,
sys
import
copy
# for deep copies of dictionaries
from
..
import
utils
from
..
import
utils
,
tools
from
..tools
import
is_idiap
import
bob.core
...
...
@@ -324,13 +324,13 @@ def execute_dependent_task(command_line, directories, dependency_level):
# get the command line parameter for the result directory
if
args
.
dry_run
:
if
args
.
verbose
:
print
(
"
Would have executed job
"
,
uti
ls
.
command_line
(
command_line
))
print
(
"
Would have executed job
"
,
too
ls
.
command_line
(
command_line
))
else
:
# execute the verification experiment
global
fake_job_id
new_job_ids
=
verify
.
verify
(
verif_args
,
command_line
,
external_fake_job_id
=
fake_job_id
)
else
:
logger
.
info
(
"
Skipping execution of %s since result directory
'
%s
'
already exists
"
,
uti
ls
.
command_line
(
command_line
),
result_dir
)
logger
.
info
(
"
Skipping execution of %s since result directory
'
%s
'
already exists
"
,
too
ls
.
command_line
(
command_line
),
result_dir
)
except
Exception
as
e
:
logger
.
error
(
"
The execution of job was rejected!
\n
%s
\n
Reason:
\n
%s
"
,
"
"
.
join
(
command_line
),
e
)
...
...
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