Skip to content

Commit

Permalink
Buttons again (#39)
Browse files Browse the repository at this point in the history
* Buttons again

* Update SAF

* Scarce buttons
  • Loading branch information
yardenas authored Sep 19, 2024
1 parent 49ab45b commit e582ec3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 142 deletions.
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

0 comments on commit e582ec3

Please sign in to comment.