Skip to content

Commit

Permalink
Auto-format code 🧹🌟🤖
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 9, 2025
1 parent 12e03c0 commit e253741
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions cares_reinforcement_learning/algorithm/mbrl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from .STEVESAC_Bounded import STEVESAC_Bounded
from .DynaSAC_Bounded_Yao import DynaSAC_Bounded_Yao
from .STEVESAC_Bounded_Yao import STEVESAC_Bounded_Yao

# Immersive Weighting
from .DynaSAC_NS_IW import DynaSAC_NS_IW
from .DynaSAC_SUNRISE_NS import DynaSAC_SUNRISEReweight
Expand Down
1 change: 1 addition & 0 deletions cares_reinforcement_learning/util/configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ class STEVESAC_BoundedConfig_Yao(AlgorithmConfig):
threshold: float = 0.1
exploration_sample: int = 5


class DynaSAC_Bounded_YaoConfig(AlgorithmConfig):
algorithm: str = Field("DynaSAC_Bounded_Yao", Literal=True)
type: str = Field("mbrl", Literal=True)
Expand Down
4 changes: 1 addition & 3 deletions cares_reinforcement_learning/util/network_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,7 @@ def create_STEVESAC_Bounded_Yao(
return agent


def create_DynaSAC_NS_IW(
observation_size, action_num, config: acf.DynaSAC_NS_IWConfig
):
def create_DynaSAC_NS_IW(observation_size, action_num, config: acf.DynaSAC_NS_IWConfig):
"""
Create networks for model-based SAC agent. The Actor and Critic is same.
An extra world model is added.
Expand Down

0 comments on commit e253741

Please sign in to comment.