From 4e625d153ddd12d429454cfdf1f3d387d403d99e Mon Sep 17 00:00:00 2001 From: Bryon Tjanaka Date: Tue, 28 Nov 2023 21:04:21 -0800 Subject: [PATCH] positional arg --- ribs/emitters/_evolution_strategy_emitter.py | 2 +- ribs/emitters/_gradient_arborescence_emitter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ribs/emitters/_evolution_strategy_emitter.py b/ribs/emitters/_evolution_strategy_emitter.py index fae907609..62426442c 100644 --- a/ribs/emitters/_evolution_strategy_emitter.py +++ b/ribs/emitters/_evolution_strategy_emitter.py @@ -127,7 +127,7 @@ def __init__( **(es_kwargs if es_kwargs is not None else {})) self._opt.reset(self._x0) - self._ranker = _get_ranker(ranker, seed=ranker_seed) + self._ranker = _get_ranker(ranker, ranker_seed) self._ranker.reset(self, archive) self._batch_size = self._opt.batch_size diff --git a/ribs/emitters/_gradient_arborescence_emitter.py b/ribs/emitters/_gradient_arborescence_emitter.py index 99fe257df..ff633a2d2 100644 --- a/ribs/emitters/_gradient_arborescence_emitter.py +++ b/ribs/emitters/_gradient_arborescence_emitter.py @@ -171,7 +171,7 @@ def __init__(self, self._normalize_grads = normalize_grad self._jacobian_batch = None - self._ranker = _get_ranker(ranker, seed=ranker_seed) + self._ranker = _get_ranker(ranker, ranker_seed) self._ranker.reset(self, archive) if selection_rule not in ["mu", "filter"]: