Skip to content

Commit

Permalink
fixed another format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
takuyamagata committed Feb 9, 2025
1 parent d14607a commit 9958206
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions reproductions/offline/qdt.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ def relabel_dataset_rtg(
q_algo: Trained Q-learning algoirthm.
k (int): Context length for DT.
seed (int): The random seed.
num_action_samples (int, optional): The number of action samples for
num_action_samples (int, optional): The number of action samples for
V function estimation. Defaults to 10.
gpu (int, optional): The GPU device ID. Defaults to None.
timestamp (str, optional): The timestamp for experiment name.
timestamp (str, optional): The timestamp for experiment name.
Defaults to None.
"""
# fix seed
Expand Down Expand Up @@ -130,7 +130,7 @@ def fit_cql(
env (gym.Env): The environment instance.
seed (int): The random seed.
gpu (int, optional): The GPU device ID. Defaults to None.
timestamp (str, optional): The timestamp for experiment name.
timestamp (str, optional): The timestamp for experiment name.
Defaults to None.
"""
# fix seed
Expand Down Expand Up @@ -188,7 +188,7 @@ def fit_iql(
env (gym.Env): The environment instance.
seed (int): The random seed.
gpu (int, optional): The GPU device ID. Defaults to None.
timestamp (str, optional): The timestamp for experiment name.
timestamp (str, optional): The timestamp for experiment name.
Defaults to None.
"""
# fix seed
Expand Down Expand Up @@ -258,7 +258,7 @@ def fit_dt(
env (gym.Env): The environment instance.
seed (int): The random seed.
gpu (int, optional): The GPU device ID. Defaults to None.
timestamp (str, optional): The timestamp for experiment name.
timestamp (str, optional): The timestamp for experiment name.
Defaults to None.
"""
# fix seed
Expand Down

0 comments on commit 9958206

Please sign in to comment.