explain why n_encoder_layers=1
This commit is contained in:
parent
4d7d41cdee
commit
40ed37417f
|
@ -115,6 +115,9 @@ class ACTConfig:
|
||||||
dim_feedforward: int = 3200
|
dim_feedforward: int = 3200
|
||||||
feedforward_activation: str = "relu"
|
feedforward_activation: str = "relu"
|
||||||
n_encoder_layers: int = 4
|
n_encoder_layers: int = 4
|
||||||
|
# Note: Although the original ACT implementation has 7 for `n_decoder_layers`, there is a bug in the code
|
||||||
|
# that means only the first layer is used. Here we match the original implementation by setting this to 1.
|
||||||
|
# See this issue https://github.com/tonyzhaozh/act/issues/25#issue-2258740521.
|
||||||
n_decoder_layers: int = 1
|
n_decoder_layers: int = 1
|
||||||
# VAE.
|
# VAE.
|
||||||
use_vae: bool = True
|
use_vae: bool = True
|
||||||
|
|
|
@ -66,6 +66,9 @@ policy:
|
||||||
dim_feedforward: 3200
|
dim_feedforward: 3200
|
||||||
feedforward_activation: relu
|
feedforward_activation: relu
|
||||||
n_encoder_layers: 4
|
n_encoder_layers: 4
|
||||||
|
# Note: Although the original ACT implementation has 7 for `n_decoder_layers`, there is a bug in the code
|
||||||
|
# that means only the first layer is used. Here we match the original implementation by setting this to 1.
|
||||||
|
# See this issue https://github.com/tonyzhaozh/act/issues/25#issue-2258740521.
|
||||||
n_decoder_layers: 1
|
n_decoder_layers: 1
|
||||||
# VAE.
|
# VAE.
|
||||||
use_vae: true
|
use_vae: true
|
||||||
|
|
Loading…
Reference in New Issue