Skip to content

Commit

Permalink
Change GPTAdamWFactory to AdamWFactory in DT reproduction
Browse files Browse the repository at this point in the history
  • Loading branch information
takuseno committed Oct 9, 2023
1 parent 589c1f2 commit f53fd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reproductions/offline/decision_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def main() -> None:
dt = d3rlpy.algos.DecisionTransformerConfig(
batch_size=64,
learning_rate=1e-4,
optim_factory=d3rlpy.models.GPTAdamWFactory(weight_decay=1e-4),
optim_factory=d3rlpy.models.AdamWFactory(weight_decay=1e-4),
encoder_factory=d3rlpy.models.VectorEncoderFactory(
[128],
exclude_last_activation=True,
Expand Down

0 comments on commit f53fd3b

Please sign in to comment.