Skip to content

Commit

Permalink
[Minor] compatible with Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
cbhua committed Mar 15, 2024
1 parent a8d806f commit 6a1adf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rl4co/models/zoo/pomo/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(
baseline: str = "shared",
num_augment: int = 8,
augment_fn: Union[str, callable] = "dihedral8",
feats: list[str] = None,
feats: list = None,
num_starts: int = None,
select_start_nodes_fn: callable = select_start_nodes,
**kwargs,
Expand Down
2 changes: 1 addition & 1 deletion rl4co/models/zoo/symnco/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(
baseline: str = "symnco",
num_augment: int = 4,
augment_fn: Union[str, callable] = "symmetric",
feats: list[str] = None,
feats: list = None,
alpha: float = 0.2,
beta: float = 1,
num_starts: int = 0,
Expand Down

0 comments on commit 6a1adf2

Please sign in to comment.