Skip to content

Commit

Permalink
Merge pull request #88 from octo-models/no_dropout_diffusion
Browse files Browse the repository at this point in the history
Fix  diffusion head test time layer norm statistics
  • Loading branch information
mees authored May 8, 2024
2 parents 923089e + 53a301f commit cab7f94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion octo/model/components/action_heads.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ class DiffusionActionHead(nn.Module):
# diffusion-specific config with sane defaults
time_dim: int = 32
num_blocks: int = 3
dropout_rate: float = 0.1
dropout_rate: float = 0.0
hidden_dim: int = 256
use_layer_norm: bool = True
diffusion_steps: int = 20
Expand Down
1 change: 1 addition & 0 deletions scripts/configs/octo_pretrain_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def get_config(config_string=None):
use_map=False,
pred_horizon=4,
action_dim=7,
dropout_rate=0.0,
)

# We augment differently for the primary and wrist cameras
Expand Down

0 comments on commit cab7f94

Please sign in to comment.