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

multipcse #1392

Draft
wants to merge 69 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
1323e4c
pcse
teytaud Jan 20, 2022
d5f5a48
pcse
teytaud Jan 20, 2022
9a69ed3
fix
teytaud Jan 20, 2022
f351125
pcse
teytaud Jan 20, 2022
d82572d
fix
teytaud Jan 20, 2022
548e26b
nlopt
teytaud Jan 20, 2022
ef1d9db
nlopt
teytaud Jan 20, 2022
6d521d6
nlopt
teytaud Jan 20, 2022
40fa906
fix
teytaud Jan 20, 2022
3c39904
fix
teytaud Jan 20, 2022
df0859e
fix
teytaud Jan 20, 2022
5ebef57
po
teytaud Jan 20, 2022
c225aba
po
teytaud Jan 20, 2022
8d64d9f
po
teytaud Jan 20, 2022
38c52f2
po
teytaud Jan 20, 2022
7212971
to
teytaud Jan 20, 2022
d7d30b6
Merge branch 'main' of github.com:facebookresearch/nevergrad into pcse
teytaud Jan 20, 2022
53c3e7c
fix
teytaud Jan 20, 2022
7d379fb
fix
teytaud Jan 20, 2022
4ba35a5
Update __init__.py
teytaud Jan 21, 2022
461c47a
Update experiments.py
teytaud Jan 21, 2022
e8b61d9
Update nevergrad/optimization/optimizerlib.py
teytaud Feb 16, 2022
1ffd9e3
Update test_optimizerlib.py
teytaud Feb 16, 2022
2485297
Update test_pcse.py
teytaud Feb 16, 2022
bb0bfdf
Update pcse.py
teytaud Feb 16, 2022
292ce5c
Update experiments.py
teytaud Feb 16, 2022
3af4cf3
Merge branch 'main' of github.com:facebookresearch/nevergrad into pcse
teytaud Mar 2, 2022
1691eaa
Pcse2: irrigation challenge (#1341)
teytaud Mar 2, 2022
c75d0e8
Update bench.txt
teytaud Mar 2, 2022
a1d172b
Update irrigation.py
teytaud Mar 2, 2022
fc2b4a4
fix
teytaud Mar 2, 2022
e07a6f9
Merge branch 'main' into pcse
teytaud Mar 7, 2022
ec48d5e
Update irrigation.py
teytaud Mar 7, 2022
87100b9
pcse_license
teytaud Mar 7, 2022
f349f85
fix_details
teytaud Mar 7, 2022
7265466
fix
teytaud Mar 7, 2022
fb56213
dependencies
teytaud Mar 7, 2022
0c326e9
dependencies
teytaud Mar 7, 2022
8bc105b
dependencies
teytaud Mar 7, 2022
5bd8f63
dependencies
teytaud Mar 7, 2022
6857caa
dependencies
teytaud Mar 7, 2022
f6a00cf
dependencies
teytaud Mar 7, 2022
31ea8ba
pcse
teytaud Mar 7, 2022
6429b5f
Update irrigation.py
teytaud Mar 8, 2022
77a3953
add_folders
teytaud Mar 8, 2022
9b470ab
Update irrigation.py
teytaud Mar 8, 2022
87b7239
black
teytaud Mar 10, 2022
b4b1a04
Merge branch 'main' into pcse
teytaud Mar 10, 2022
103868f
fix
teytaud Mar 10, 2022
2af1d82
fix
teytaud Mar 10, 2022
5d780eb
fix
teytaud Mar 10, 2022
31740f0
fix
teytaud Mar 10, 2022
6b9bc45
fix
teytaud Mar 10, 2022
2599cbd
fix
teytaud Mar 10, 2022
b54a37a
Update irrigation.py
teytaud Mar 10, 2022
696f80f
Update pcse.py
teytaud Mar 10, 2022
db55266
pcse
teytaud Mar 11, 2022
217eb21
multipcse
teytaud Mar 17, 2022
f6ec35e
black_improve
teytaud Mar 17, 2022
24c37e7
fix
teytaud Mar 17, 2022
eefb9c3
Update bench.txt
teytaud Mar 17, 2022
8af502c
Update irrigation.py
teytaud Mar 17, 2022
0d8655c
Update dev.txt
teytaud Mar 17, 2022
85819e8
Update dev.txt
teytaud Mar 17, 2022
53d8f99
Update dev.txt
teytaud Mar 17, 2022
dc25e41
Update irrigation.py
teytaud Mar 17, 2022
61cebf3
Update irrigation.py
teytaud Mar 24, 2022
554499b
rebase
teytaud Jun 18, 2022
df73053
fix
teytaud Jun 18, 2022
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
fix
  • Loading branch information
teytaud committed Jun 18, 2022
commit df7305304b8db80bfc031f446c2d2f8c65f59e9a
5 changes: 1 addition & 4 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
[mypy-scipy.*,requests,pandas,compiler_gym,compiler_gym.*,gym_anm,matplotlib.*,pytest,cma,bayes_opt.*,torchvision.models,torch.*,mpl_toolkits.*,fcmaes.*,tqdm,pillow,PIL,PIL.Image,sklearn.*,pyomo.*,pyproj,IOHexperimenter.*,tensorflow,koncept.models,cv2,imquality,imquality.brisque,lpips,mixsimulator.*,networkx.*,cdt.*,pymoo,pymoo.*,bayes_optim.*,olympus.*,pymoo,pymoo.*,pybullet,pybullet_envs,pybulletgym,pyvirtualdisplay,nlopt,aquacrop.*]
ignore_missing_imports = True

<<<<<<< HEAD
[mypy-nevergrad.functions.rl.agents,torchvision,torchvision.*,nevergrad.functions.games.*,nevergrad.functions.multiobjective.pyhv,nevergrad.optimization.test_doc,,pymoo,pymoo.*,pybullet,pybullet_envs,pybulletgym,pyvirtualdisplay,nlopt,pcse.*,yaml.*,aquacrop.*]
=======
[mypy-nevergrad.functions.rl.*,torchvision,torchvision.*,nevergrad.functions.games.*,nevergrad.functions.multiobjective.pyhv,nevergrad.optimization.test_doc,nevergrad.functions.gym.multigym,nevergrad.functions.gym.tuple_gym_env]
>>>>>>> 35edb978b33c666e12796682bfdb1fff26c1d3f5
#[mypy-nevergrad.functions.rl.*,torchvision,torchvision.*,nevergrad.functions.games.*,nevergrad.functions.multiobjective.pyhv,nevergrad.optimization.test_doc,nevergrad.functions.gym.multigym,nevergrad.functions.gym.tuple_gym_env]
ignore_missing_imports = True
ignore_errors = True

Expand Down
5 changes: 0 additions & 5 deletions nevergrad/functions/gym/test_multigym.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,9 @@ def test_sparse_cartpole() -> None:
assert min(results) != max(results), "CartPole should not be deterministic."


<<<<<<< HEAD
def test_default_run_multigym() -> None:
if os.name == "nt":
=======
@pytest.mark.parametrize("name", ["LunarLander-v2"]) # type: ignore
def test_run_multigym(name: str) -> None:
if os.name == "nt" or np.random.randint(8) or "CubeCrash" in name:
>>>>>>> 35edb978b33c666e12796682bfdb1fff26c1d3f5
raise SkipTest("Skipping Windows and running only 1 out of 8")
if "ANM" in name:
raise SkipTest("We skip ANM6Easy and related problems.")
Expand Down
8 changes: 0 additions & 8 deletions nevergrad/optimization/test_optimizerlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,17 +728,9 @@ def test_ngopt_selection(
# assert choice == "MetaTuneRecentering"
assert "MetaTuneRecentering" in optim_string
if num_workers > 1:
<<<<<<< HEAD
# assert choice not in ["SQP", "Cobyla"]
assert "SQP" not in optim_string and "Cobyla" not in optim_string
assert opt._info()["sub-optim"] in optim_string
=======
assert choice not in ["SQP", "Cobyla"]
if "CMA" not in choice:
assert choice == opt._info()["sub-optim"]
else:
assert choice in opt._info()["sub-optim"]
>>>>>>> 35edb978b33c666e12796682bfdb1fff26c1d3f5


def test_bo_ordering() -> None:
Expand Down