Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
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
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
c5e6a513
Commit
c5e6a513
authored
4 years ago
by
Björn Vonheiden
Committed by
Sören Henning
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix not using a given search strategy
parent
32fa72ba
No related branches found
No related tags found
1 merge request
!71
Fix/use search strategy
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
execution/theodolite.py
+5
-5
5 additions, 5 deletions
execution/theodolite.py
with
5 additions
and
5 deletions
execution/theodolite.py
+
5
−
5
View file @
c5e6a513
...
...
@@ -69,7 +69,7 @@ def main(uc, loads, instances_list, partitions, cpu_limit, memory_limit,
write_stream
.
write
(
str
(
exp_id
+
1
))
domain_restriction_strategy
=
None
search_strategy
=
None
search_strategy
_method
=
None
# Select domain restriction
if
domain_restriction
:
...
...
@@ -83,13 +83,13 @@ def main(uc, loads, instances_list, partitions, cpu_limit, memory_limit,
if
search_strategy
==
"
linear-search
"
:
print
(
f
"
Going to execute at most
{
len
(
loads
)
+
len
(
instances_list
)
-
1
}
subexperiments in total..
"
)
search_strategy
=
linear_search_strategy
search_strategy
_method
=
linear_search_strategy
elif
search_strategy
==
"
binary-search
"
:
search_strategy
=
binary_search_strategy
search_strategy
_method
=
binary_search_strategy
else
:
print
(
f
"
Going to execute
{
len
(
loads
)
*
len
(
instances_list
)
}
subexperiments in total..
"
)
search_strategy
=
check_all_strategy
search_strategy
_method
=
check_all_strategy
experiment_config
=
ExperimentConfig
(
use_case
=
uc
,
...
...
@@ -106,7 +106,7 @@ def main(uc, loads, instances_list, partitions, cpu_limit, memory_limit,
configurations
=
configurations
,
result_path
=
result_path
,
domain_restriction_strategy
=
domain_restriction_strategy
,
search_strategy
=
search_strategy
,
search_strategy
=
search_strategy
_method
,
subexperiment_executor
=
subexperiment_executor
,
subexperiment_evaluator
=
subexperiment_evaluator
)
...
...
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