Skip to content

Commit

Permalink
Fixed typos in installation and usage instructions.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 380265083
  • Loading branch information
ben-eysenbach authored and copybara-github committed Jun 18, 2021
1 parent f164714 commit 659f705
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion c_learning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$HOME/.mujoco/mujoco200/bin" >> ~
```
wget https://repo.anaconda.com/miniconda/Miniconda2-latest-Linux-x86_64.sh
chmod +x Miniconda2-latest-Linux-x86_64.sh
chmod +x ./Miniconda2-latest-Linux-x86_64.sh
./Miniconda2-latest-Linux-x86_64.sh
```
Restart your terminal so the changes take effect.

Expand Down
2 changes: 1 addition & 1 deletion c_learning/c_learning_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def critic_loss(self,
gamma = 1.0,
weights = None,
training = False,
w_clipping = None,
w_clipping = 20.0,
self_normalized = False,
lambda_fix = False,
):
Expand Down
2 changes: 1 addition & 1 deletion darc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$HOME/.mujoco/mujoco200/bin" >> ~
```
wget https://repo.anaconda.com/miniconda/Miniconda2-latest-Linux-x86_64.sh
chmod +x Miniconda2-latest-Linux-x86_64.sh
chmod +x ./Miniconda2-latest-Linux-x86_64.sh
./Miniconda2-latest-Linux-x86_64.sh
```
Restart your terminal so the changes take effect.

Expand Down
16 changes: 8 additions & 8 deletions rce/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$HOME/.mujoco/mujoco200/bin" >> ~
```
wget https://repo.anaconda.com/miniconda/Miniconda2-latest-Linux-x86_64.sh
chmod +x Miniconda2-latest-Linux-x86_64.sh
chmod +x ./Miniconda2-latest-Linux-x86_64.sh
./Miniconda2-latest-Linux-x86_64.sh
```
Restart your terminal so the changes take effect.

Expand Down Expand Up @@ -69,19 +69,19 @@ The following lines replicate the RCE experiments on the Sawyer tasks and Adept


```
python train_eval.py --root_dir=~/c_learning/sawyer_drawer_open --gin_bindings='train_eval.env_name="sawyer_drawer_open"'
python train_eval.py --root_dir=~/rce/sawyer_drawer_open --gin_bindings='train_eval.env_name="sawyer_drawer_open"'
python train_eval.py --root_dir=~/c_learning/sawyer_push --gin_bindings='train_eval.env_name="sawyer_push"'
python train_eval.py --root_dir=~/rce/sawyer_push --gin_bindings='train_eval.env_name="sawyer_push"'
python train_eval.py --root_dir=~/c_learning/sawyer_lift --gin_bindings='train_eval.env_name="sawyer_lift"'
python train_eval.py --root_dir=~/rce/sawyer_lift --gin_bindings='train_eval.env_name="sawyer_lift"'
python train_eval.py --root_dir=~/c_learning/door --gin_bindings='train_eval.env_name="door-human-v0"'
python train_eval.py --root_dir=~/rce/door --gin_bindings='train_eval.env_name="door-human-v0"'
python train_eval.py --root_dir=~/c_learning/sawyer_box_close --gin_bindings='train_eval.env_name="sawyer_box_close"'
python train_eval.py --root_dir=~/rce/sawyer_box_close --gin_bindings='train_eval.env_name="sawyer_box_close"'
python train_eval.py --root_dir=~/c_learning/sawyer_bin_picking --gin_bindings='train_eval.env_name="sawyer_bin_picking"' --gin_bindings='critic_loss.q_combinator="max"' --gin_bindings='actor_loss.q_combinator="max"'
python train_eval.py --root_dir=~/rce/sawyer_bin_picking --gin_bindings='train_eval.env_name="sawyer_bin_picking"' --gin_bindings='critic_loss.q_combinator="max"' --gin_bindings='actor_loss.q_combinator="max"'
python train_eval.py --root_dir=~/c_learning/hammer --gin_bindings='train_eval.env_name="hammer-human-v0"'
python train_eval.py --root_dir=~/rce/hammer --gin_bindings='train_eval.env_name="hammer-human-v0"'
```

To run SQIL, add the additional arguments:
Expand Down

0 comments on commit 659f705

Please sign in to comment.