-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update benchmarks files * merge * use humanoid instead of swimmer * make logdir match file name * update torch version to minimum version supporting global_step in add_hparams * update torch version for add_hparams update * adjust slurm usage * clip sac log_std * adjust ddpg hyperparameters * lower python version for deployment * revert benchmark code to include all agents/envs * rename benchmarks * change initial sac temperature * change pybullet logdir to match * run linter * add new benchmark results * update docs
- Loading branch information
Showing
16 changed files
with
100 additions
and
34 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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
from all.environments import MujocoEnvironment | ||
from all.experiments import SlurmExperiment | ||
from all.presets.continuous import ddpg, ppo, sac | ||
|
||
|
||
def main(): | ||
frames = int(5e6) | ||
|
||
agents = [ddpg, ppo, sac] | ||
|
||
envs = [ | ||
MujocoEnvironment(env, device="cuda") | ||
for env in [ | ||
"Ant-v4", | ||
"HalfCheetah-v4", | ||
"Hopper-v4", | ||
"Humanoid-v4", | ||
"Walker2d-v4", | ||
] | ||
] | ||
|
||
SlurmExperiment( | ||
agents, | ||
envs, | ||
frames, | ||
logdir="benchmarks/mujoco_v4", | ||
sbatch_args={ | ||
"partition": "gpu-long", | ||
}, | ||
) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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