Skip to content
Snippets Groups Projects
Commit 7bc0a656 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed error in grid_search

parent 2a8d08f9
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ from . import verify ...@@ -7,7 +7,7 @@ from . import verify
import argparse, os, sys import argparse, os, sys
import copy # for deep copies of dictionaries import copy # for deep copies of dictionaries
from .. import utils from .. import utils, tools
from ..tools import is_idiap from ..tools import is_idiap
import bob.core import bob.core
...@@ -324,13 +324,13 @@ def execute_dependent_task(command_line, directories, dependency_level): ...@@ -324,13 +324,13 @@ def execute_dependent_task(command_line, directories, dependency_level):
# get the command line parameter for the result directory # get the command line parameter for the result directory
if args.dry_run: if args.dry_run:
if args.verbose: if args.verbose:
print ("Would have executed job", utils.command_line(command_line)) print ("Would have executed job", tools.command_line(command_line))
else: else:
# execute the verification experiment # execute the verification experiment
global fake_job_id global fake_job_id
new_job_ids = verify.verify(verif_args, command_line, external_fake_job_id = fake_job_id) new_job_ids = verify.verify(verif_args, command_line, external_fake_job_id = fake_job_id)
else: else:
logger.info("Skipping execution of %s since result directory '%s' already exists", utils.command_line(command_line), result_dir) logger.info("Skipping execution of %s since result directory '%s' already exists", tools.command_line(command_line), result_dir)
except Exception as e: except Exception as e:
logger.error("The execution of job was rejected!\n%s\n Reason:\n%s", " ".join(command_line), e) logger.error("The execution of job was rejected!\n%s\n Reason:\n%s", " ".join(command_line), e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment