-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from automl/revert-95-train
Revert "enhancement: Environment Reconciliation"
- Loading branch information
Showing
99 changed files
with
2,499 additions
and
1,080 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,22 @@ | ||
# flake8: noqa: F401 | ||
from carl.envs.box2d.carl_bipedal_walker import ( | ||
CONTEXT_BOUNDS as CARLBipedalWalkerEnv_bounds, | ||
) | ||
from carl.envs.box2d.carl_bipedal_walker import ( | ||
DEFAULT_CONTEXT as CARLBipedalWalkerEnv_defaults, | ||
) | ||
from carl.envs.box2d.carl_bipedal_walker import CARLBipedalWalkerEnv | ||
|
||
# Contextenvs.s and bounds by name | ||
from functools import partial | ||
import warnings | ||
|
||
import gym | ||
from carl.envs.box2d.carl_lunarlander import CARLLunarLanderEnv | ||
from carl.envs.box2d.carl_lunarlander import CONTEXT_BOUNDS as CARLLunarLanderEnv_bounds | ||
from carl.envs.box2d.carl_lunarlander import ( | ||
DEFAULT_CONTEXT as CARLLunarLanderEnv_defaults, | ||
) | ||
from carl.envs.box2d.carl_lunarlander import CARLLunarLanderEnv | ||
from carl.envs.box2d.carl_vehicle_racing import ( | ||
CONTEXT_BOUNDS as CARLVehicleRacingEnv_bounds, | ||
) | ||
|
||
from carl.envs.box2d.carl_vehicle_racing import CARLVehicleRacingEnv | ||
from carl.envs.box2d.carl_vehicle_racing import ( | ||
DEFAULT_CONTEXT as CARLVehicleRacingEnv_defaults, | ||
) | ||
from carl.envs.box2d.carl_vehicle_racing import ( | ||
CONTEXT_BOUNDS as CARLVehicleRacingEnv_bounds, | ||
) | ||
|
||
from carl.envs.box2d.carl_bipedal_walker import CARLBipedalWalkerEnv | ||
from carl.envs.box2d.carl_bipedal_walker import ( | ||
DEFAULT_CONTEXT as CARLBipedalWalkerEnv_defaults, | ||
) | ||
from carl.envs.box2d.carl_bipedal_walker import ( | ||
CONTEXT_BOUNDS as CARLBipedalWalkerEnv_bounds, | ||
) | ||
|
||
try: | ||
from carl.envs.box2d.carl_bipedal_walker import CARLBipedalWalkerEnv | ||
from gym.envs.registration import register | ||
|
||
def make_env(**kwargs): | ||
return CARLBipedalWalkerEnv(**kwargs) | ||
register("CARLBipedalWalkerEnv-v0", entry_point=make_env) | ||
register("CARLBipedalWalkerHardcoreEnv-v0", entry_point=partial(make_env, env=gym.make("BipedalWalkerHardcore-v3"))) | ||
except Exception as e: | ||
warnings.warn( | ||
f"Could not load CARLMarioEnv which is probably not installed ({e}).") | ||
from carl.envs.box2d.carl_vehicle_racing import CARLVehicleRacingEnv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
# flake8: noqa: F401 | ||
# Contexts and bounds by name | ||
from carl.envs.braxenvs.carl_ant import CONTEXT_BOUNDS as CARLAnt_bounds | ||
from carl.envs.braxenvs.carl_ant import DEFAULT_CONTEXT as CARLAnt_defaults | ||
from carl.envs.braxenvs.carl_ant import CARLAnt | ||
from carl.envs.braxenvs.carl_halfcheetah import CONTEXT_BOUNDS as CARLHalfcheetah_bounds | ||
from carl.envs.braxenvs.carl_halfcheetah import DEFAULT_CONTEXT as CARLHalfcheetah_defaults | ||
from carl.envs.braxenvs.carl_halfcheetah import CARLHalfcheetah | ||
from carl.envs.braxenvs.carl_humanoid import CONTEXT_BOUNDS as CARLHumanoid_bounds | ||
from carl.envs.braxenvs.carl_humanoid import DEFAULT_CONTEXT as CARLHumanoid_defaults | ||
from carl.envs.braxenvs.carl_humanoid import CARLHumanoid | ||
from carl.envs.braxenvs.carl_hopper import CONTEXT_BOUNDS as CARLHopper_bounds | ||
from carl.envs.braxenvs.carl_hopper import DEFAULT_CONTEXT as CARLHopper_defaults | ||
from carl.envs.braxenvs.carl_hopper import CARLHopper | ||
from carl.envs.braxenvs.carl_reacher import CONTEXT_BOUNDS as CARLReacher_bounds | ||
from carl.envs.braxenvs.carl_reacher import DEFAULT_CONTEXT as CARLReacher_defaults | ||
from carl.envs.braxenvs.carl_reacher import CARLReacher | ||
from carl.envs.braxenvs.carl_pusher import CONTEXT_BOUNDS as CARLPusher_bounds | ||
from carl.envs.braxenvs.carl_pusher import DEFAULT_CONTEXT as CARLPusher_defaults | ||
from carl.envs.braxenvs.carl_pusher import CARLPusher | ||
from carl.envs.braxenvs.carl_double_pendulum import CONTEXT_BOUNDS as CARLInvertedDoublePendulum_bounds | ||
from carl.envs.braxenvs.carl_double_pendulum import DEFAULT_CONTEXT as CARLInvertedDoublePendulum_defaults | ||
from carl.envs.braxenvs.carl_double_pendulum import CARLInvertedDoublePendulum | ||
from carl.envs.brax.carl_ant import CONTEXT_BOUNDS as CARLAnt_bounds | ||
from carl.envs.brax.carl_ant import DEFAULT_CONTEXT as CARLAnt_defaults | ||
from carl.envs.brax.carl_ant import CARLAnt | ||
from carl.envs.brax.carl_fetch import CONTEXT_BOUNDS as CARLFetch_bounds | ||
from carl.envs.brax.carl_fetch import DEFAULT_CONTEXT as CARLFetch_defaults | ||
from carl.envs.brax.carl_fetch import CARLFetch | ||
from carl.envs.brax.carl_grasp import CONTEXT_BOUNDS as CARLGrasp_bounds | ||
from carl.envs.brax.carl_grasp import DEFAULT_CONTEXT as CARLGrasp_defaults | ||
from carl.envs.brax.carl_grasp import CARLGrasp | ||
from carl.envs.brax.carl_halfcheetah import CONTEXT_BOUNDS as CARLHalfcheetah_bounds | ||
from carl.envs.brax.carl_halfcheetah import DEFAULT_CONTEXT as CARLHalfcheetah_defaults | ||
from carl.envs.brax.carl_halfcheetah import CARLHalfcheetah | ||
from carl.envs.brax.carl_humanoid import CONTEXT_BOUNDS as CARLHumanoid_bounds | ||
from carl.envs.brax.carl_humanoid import DEFAULT_CONTEXT as CARLHumanoid_defaults | ||
from carl.envs.brax.carl_humanoid import CARLHumanoid | ||
from carl.envs.brax.carl_ur5e import CONTEXT_BOUNDS as CARLUr5e_bounds | ||
from carl.envs.brax.carl_ur5e import DEFAULT_CONTEXT as CARLUr5e_defaults | ||
from carl.envs.brax.carl_ur5e import CARLUr5e |
Oops, something went wrong.