forked from rll/rllab
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sort modules in the package, add newline at EOF and defaults
The changes in this commit include: - The modules in the __ini__.py file were sorted alphabetically. - The new line at the end of file was added in randomized_env.py. - Default values were assigned for VariationSpec, specifically for fields method, distribution, mean_std and var_range. Fields xpath, attrib, elem and default are specific to the model in the XML file provided by the user, so they cannot be default parameters. Further more, elem and default are obtained by parsing the XML file, so the user won't set them.
- Loading branch information
Angel Gonzalez
committed
Jun 8, 2018
1 parent
a1b9f2a
commit ac0d449
Showing
3 changed files
with
14 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
from rllab.envs.mujoco.dynamics_randomization.variation import Variations | ||
from rllab.envs.mujoco.dynamics_randomization.variation import Method | ||
from rllab.envs.mujoco.dynamics_randomization.variation import Distribution | ||
from rllab.envs.mujoco.dynamics_randomization.mujoco_model_generator import MujocoModelGenerator | ||
from rllab.envs.mujoco.dynamics_randomization.randomized_env import randomize | ||
from rllab.envs.mujoco.dynamics_randomization.variation import Distribution | ||
from rllab.envs.mujoco.dynamics_randomization.variation import Method | ||
from rllab.envs.mujoco.dynamics_randomization.variation import Variations |
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 |
---|---|---|
|
@@ -84,4 +84,4 @@ def horizon(self): | |
return self._wrapped_env.horizon | ||
|
||
|
||
randomize = RandomizedEnv | ||
randomize = RandomizedEnv |
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