Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yura-hb committed May 4, 2024
1 parent e7d4d30 commit 162dde2
Show file tree
Hide file tree
Showing 36 changed files with 342 additions and 972 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ layers:
layers:
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'gin'
parameters:
in_channels: -1
out_channels: 256
out_channels: 64
num_layers: 3
hidden_channels: 256
hidden_channels: 64
jk: 'cat'
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'mask'
Expand All @@ -28,26 +28,9 @@ layers:

- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_hidden'
- kind: 'linear'
parameters:
dim: 256
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_hidden'

- kind: 'linear'
parameters:
dim: 256
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_value'

- kind: 'linear'
parameters:
dim: 1
activation: 'none'
signature: 'actions_value -> actions_value'

# Critic

Expand All @@ -56,19 +39,19 @@ layers:
layers:
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'gin'
parameters:
in_channels: -1
out_channels: 256
out_channels: 64
num_layers: 3
hidden_channels: 256
hidden_channels: 64
jk: 'cat'
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'mask'
Expand All @@ -77,12 +60,11 @@ layers:

- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'values_hidden -> values_hidden'

- kind: 'output'
parameters:
value: 'values_hidden'
actor_value: 'actions_value'
actions: 'actions_hidden'
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ layers:
# in_channels: -1
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'gin'
parameters:
in_channels: -1
out_channels: 256
out_channels: 64
num_layers: 3
hidden_channels: 256
hidden_channels: 64
jk: 'cat'
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'mask'
Expand All @@ -31,26 +31,9 @@ layers:

- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_hidden'
- kind: 'linear'
parameters:
dim: 256
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_hidden'

- kind: 'linear'
parameters:
dim: 256
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_value'

- kind: 'linear'
parameters:
dim: 1
activation: 'none'
signature: 'actions_value -> actions_value'

# Critic

Expand All @@ -62,19 +45,19 @@ layers:
# in_channels: -1
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'gin'
parameters:
in_channels: -1
out_channels: 256
out_channels: 64
num_layers: 3
hidden_channels: 256
hidden_channels: 64
jk: 'cat'
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'mask'
Expand All @@ -83,12 +66,11 @@ layers:

- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'values_hidden -> values_hidden'

- kind: 'output'
parameters:
value: 'values_hidden'
actor_value: 'actions_value'
actions: 'actions_hidden'
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ layers:
layers:
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'gin'
parameters:
in_channels: -1
out_channels: 256
out_channels: 64
num_layers: 3
hidden_channels: 256
hidden_channels: 64
jk: 'cat'
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'mask'
Expand All @@ -28,26 +28,9 @@ layers:

- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_hidden'
- kind: 'linear'
parameters:
dim: 256
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_hidden'

- kind: 'linear'
parameters:
dim: 256
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_value'

- kind: 'linear'
parameters:
dim: 1
activation: 'none'
signature: 'actions_value -> actions_value'

# Critic

Expand All @@ -56,19 +39,19 @@ layers:
layers:
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'gin'
parameters:
in_channels: -1
out_channels: 256
out_channels: 64
num_layers: 3
hidden_channels: 256
hidden_channels: 64
jk: 'cat'
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'mask'
Expand All @@ -77,12 +60,11 @@ layers:

- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'values_hidden -> values_hidden'

- kind: 'output'
parameters:
value: 'values_hidden'
actor_value: 'actions_value'
actions: 'actions_hidden'
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ layers:
layers:
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'gin'
parameters:
in_channels: -1
out_channels: 256
out_channels: 64
num_layers: 3
hidden_channels: 256
hidden_channels: 64
jk: 'cat'
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'mask'
Expand All @@ -28,26 +28,9 @@ layers:

- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_hidden'
- kind: 'linear'
parameters:
dim: 256
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_hidden'

- kind: 'linear'
parameters:
dim: 256
activation: 'leaky_relu'
signature: 'actions_hidden -> actions_value'

- kind: 'linear'
parameters:
dim: 1
activation: 'none'
signature: 'actions_value -> actions_value'

# Critic

Expand All @@ -56,19 +39,19 @@ layers:
layers:
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'gin'
parameters:
in_channels: -1
out_channels: 256
out_channels: 64
num_layers: 3
hidden_channels: 256
hidden_channels: 64
jk: 'cat'
- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'x -> x'
- kind: 'mask'
Expand All @@ -77,12 +60,11 @@ layers:

- kind: 'linear'
parameters:
dim: 256
dim: 64
activation: 'leaky_relu'
signature: 'values_hidden -> values_hidden'

- kind: 'output'
parameters:
value: 'values_hidden'
actor_value: 'actions_value'
actions: 'actions_hidden'
Loading

0 comments on commit 162dde2

Please sign in to comment.