Skip to content

Commit

Permalink
Use math.e instead of hardcoded value
Browse files Browse the repository at this point in the history
  • Loading branch information
takuseno committed May 11, 2024
1 parent fba2fe0 commit 6bb36bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reproductions/finetuning/cal_ql_finetune.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import argparse
import math

import d3rlpy

Expand Down Expand Up @@ -43,7 +44,7 @@ def main() -> None:
critic_learning_rate=3e-4,
temp_learning_rate=1e-4,
alpha_learning_rate=3e-4,
initial_alpha=2.72,
initial_alpha=math.e,
batch_size=256,
conservative_weight=5.0,
critic_encoder_factory=encoder,
Expand Down

0 comments on commit 6bb36bc

Please sign in to comment.