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

Buttons again #39

Merged
merged 22 commits into from
Sep 19, 2024
Merged
142 changes: 2 additions & 140 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ moviepy = "^1.0.3"
safe-adaptation-gym = { git = "https://[email protected]/lasgroup/safe-adaptation-gym" }
jmp = { git = "https://github.com/deepmind/jmp" }
tensorboard = "^2.16.2"
torch = { version = "^2.4.0+cpu", source = "pytorch_cpu" }
torchvision = { version = "^0.19.0+cpu", source = "pytorch_cpu" }


[[tool.poetry.source]]
Expand Down
18 changes: 18 additions & 0 deletions safe_opax/configs/experiment/safe_sparse_button.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# @package _global_
defaults:
- override /environment: safe_adaptation_gym

environment:
safe_adaptation_gym:
task: press_buttons_scarce

training:
epochs: 100
safe: true
action_repeat: 2

agent:
exploration_strategy: opax
exploration_steps: 1000000
exploration_epistemic_scale: 25.0
exploration_reward_scale: 0.1