Skip to content

Commit

Permalink
altScore example use NSGA3 results as target and not UNSGA3 (UNSGA3 r…
Browse files Browse the repository at this point in the history
…uns after altScore so it is not available yet)
  • Loading branch information
Immudzen committed Aug 17, 2021
1 parent 5cc9459 commit 4978d56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CADETMatch/create_example_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,11 +526,11 @@ def create_altScore(defaults, config):
config = config.deepcopy()
config.searchMethod = 'AltScore'
config.population = 0
config.PreviousResults = (defaults.base_dir / "search" / "unsga3" / "results" / "result.h5").as_posix()
config.PreviousResults = (defaults.base_dir / "search" / "nsga3" / "results" / "result.h5").as_posix()
config.experiments[0].scores[0].type = "Shape"
config.resultsDir = (dir / "results").as_posix()
config.resultsDirOriginal = (defaults.base_dir / "search" / "unsga3" / "results").as_posix()
create_common(dir, config, altDir = (defaults.base_dir / "search" / "unsga3"))
config.resultsDirOriginal = (defaults.base_dir / "search" / "nsga3" / "results").as_posix()
create_common(dir, config, altDir = (defaults.base_dir / "search" / "nsga3"))

def create_refine_shape(defaults, config):
dir = defaults.base_dir / "search" / "other" / "refine_shape"
Expand Down

0 comments on commit 4978d56

Please sign in to comment.