Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Residual controllers in RL. #1359

Merged
merged 12 commits into from
Feb 14, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
seed
  • Loading branch information
teytaud committed Feb 13, 2022
commit 3a63d41adda3c9e396e2506fd0c5ccfc839ac2ed
2 changes: 1 addition & 1 deletion nevergrad/benchmark/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,5 @@ def test_benchmark_chunk_resuming() -> None:
warnings.filterwarnings("ignore", category=errors.InefficientSettingsWarning)
chunk.compute()
assert (
not w
not w and not "seeding" in w[0].message # We accept warnings due to seeding stuff.
), f"A warning was raised while it should not have (experiment could not be resumed): {w[0].message}"
2 changes: 1 addition & 1 deletion nevergrad/optimization/test_optimizerlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def test_bo_parametrization_and_parameters() -> None:
parametrization = ng.p.Instrumentation(ng.p.Choice([True, False]))
with pytest.warns(errors.InefficientSettingsWarning):
xpvariants.QRBO(parametrization, budget=10)
with pytest.warns(None) as record:
with pytest.warns(None) as record: # type: ignore
opt = optlib.ParametrizedBO(gp_parameters={"alpha": 1})(parametrization, budget=10)
assert not record, record.list # no warning
# parameters
Expand Down