Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename sac to rl in agent and sac_main remove temp issue pytorch/pytorch#80809 add depth camera to realcar add dm_control mujoco sample
- Loading branch information
1 parent
ff07397
commit 98a6f84
Showing
14 changed files
with
1,996 additions
and
690 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
default: | ||
base_config: | ||
env_type: DM_CONTROL | ||
env_name: cartpole/swingup | ||
|
||
max_step: -1 | ||
max_iter: 100 | ||
n_agents: 10 | ||
|
||
sac_config: | ||
seed: 42 | ||
|
||
n_step: 10 | ||
|
||
tau: 0.9 | ||
v_lambda: 0.99 | ||
init_log_alpha: 0 |
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,13 @@ | ||
import algorithm.nn_models as m | ||
|
||
ModelRep = m.ModelSimpleRep | ||
|
||
|
||
class ModelQ(m.ModelQ): | ||
def _build_model(self): | ||
super()._build_model(c_dense_n=64, c_dense_depth=2) | ||
|
||
|
||
class ModelPolicy(m.ModelPolicy): | ||
def _build_model(self): | ||
super()._build_model(c_dense_n=64, c_dense_depth=2) |
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,17 @@ | ||
default: | ||
base_config: | ||
env_type: GYM | ||
env_name: Humanoid-v3 | ||
|
||
max_step: -1 | ||
max_iter: 100 | ||
n_agents: 10 | ||
|
||
sac_config: | ||
seed: 42 | ||
|
||
n_step: 10 | ||
|
||
tau: 0.9 | ||
v_lambda: 0.99 | ||
init_log_alpha: 0 |
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,13 @@ | ||
import algorithm.nn_models as m | ||
|
||
ModelRep = m.ModelSimpleRep | ||
|
||
|
||
class ModelQ(m.ModelQ): | ||
def _build_model(self): | ||
super()._build_model(c_dense_n=64, c_dense_depth=2) | ||
|
||
|
||
class ModelPolicy(m.ModelPolicy): | ||
def _build_model(self): | ||
super()._build_model(c_dense_n=64, c_dense_depth=2) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.