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

Adding restoration #6

Merged
merged 10 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
45 changes: 40 additions & 5 deletions hyperpars/ppo-caribou.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,47 @@
# stable-baselines3 configuration

# algo: "PPO"
# env_id: "CaribouScipy"
# config: {}
# n_envs: 12
# tensorboard: "../../../logs"
# total_timesteps: 1000000
# use_sde: True
# repo: "boettiger-lab/rl4eco"
# save_path: "../saved_agents"
# id: "3"

algo: "PPO"
total_timesteps: 5000000
algo_config:
tensorboard_log: "../../../logs"
#
policy: 'MlpPolicy'
# batch_size: 512
# gamma: 0.9999
# learning_rate: !!float 7.77e-05
# ent_coef: 0.00429
# clip_range: 0.1
# gae_lambda: 0.9
# max_grad_norm: 5
# vf_coef: 0.19
# use_sde: True
# policy_kwargs: "dict(log_std_init=-3.29, ortho_init=False, net_arch=[256, 128])"
# in policy_kwargs: net_arch=[400, 300]
# policy: 'MlpPolicy'
# use_sde: True
# policy_kwargs: "dict(log_std_init=-3, net_arch=[400, 300])"
# clip_range: 0.1

# env
env_id: "CaribouScipy"
config: {}
n_envs: 12
tensorboard: "/home/rstudio/logs"
total_timesteps: 500000
use_sde: True
repo: "boettiger-lab/rl4eco"

# io
repo: "cboettig/rl-ecology"
save_path: "../saved_agents"
id: "2"

# misc
# id: ""
additional_imports: ["torch"]
47 changes: 41 additions & 6 deletions hyperpars/tqc-caribou.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,47 @@
# stable-baselines3 configuration

# algo: "TQC"
# env_id: "CaribouScipy"
# n_envs: 12
# tensorboard: "/home/rstudio/logs"
# total_timesteps: 500000
# config: {}
# use_sde: True
# repo: "boettiger-lab/rl4eco"
# save_path: "../saved_agents"
# id: "2"

algo: "TQC"
total_timesteps: 5000000
algo_config:
tensorboard_log: "../../../logs"
#
policy: 'MlpPolicy'
# batch_size: 512
# gamma: 0.9999
# learning_rate: !!float 7.77e-05
# ent_coef: 0.00429
# clip_range: 0.1
# gae_lambda: 0.9
# max_grad_norm: 5
# vf_coef: 0.19
# use_sde: True
# policy_kwargs: "dict(log_std_init=-3.29, ortho_init=False, net_arch=[256, 128])"
# in policy_kwargs: net_arch=[400, 300]
# policy: 'MlpPolicy'
# use_sde: True
# policy_kwargs: "dict(log_std_init=-3, net_arch=[400, 300])"
# clip_range: 0.1

# env
env_id: "CaribouScipy"
n_envs: 12
tensorboard: "/home/rstudio/logs"
total_timesteps: 500000
config: {}
use_sde: True
repo: "boettiger-lab/rl4eco"
n_envs: 12

# io
repo: "cboettig/rl-ecology"
save_path: "../saved_agents"
id: "2"

# misc
# id: ""
additional_imports: ["torch"]
Loading
Loading