We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b159a44 commit b4136baCopy full SHA for b4136ba
mergekit/scripts/evolve.py
@@ -231,7 +231,7 @@ def progress_callback(es: cma.CMAEvolutionStrategy):
231
f.write(best_yaml)
232
print(f"Merge configuration:\n{best_yaml}")
233
234
- if wandb:
+ if use_wandb:
235
art = wandb.Artifact("best_config", type="merge_config")
236
art.add_file(os.path.join(storage_path, "best_config.yaml"))
237
run.log_artifact(art)
@@ -240,7 +240,7 @@ def parallel_evaluate(x: List[np.ndarray]) -> List[float]:
240
print(f"Received {len(x)} genotypes")
241
res = strat.evaluate_genotypes(x)
242
243
244
res = list(res)
245
score_mean = np.mean([r["score"] for r in res])
246
score_std = np.std([r["score"] for r in res])
0 commit comments