mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-23 12:40:08 +00:00
refactor: clean up import statements
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# !/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# Copyright 2025 The HuggingFace Inc. team.
|
# Copyright 2025 The HuggingFace Inc. team.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
# You may obtain a copy of the License at
|
||||||
#
|
#
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from .sac import SACAlgorithm as SACAlgorithm, SACAlgorithmConfig as SACAlgorithmConfig
|
from .sac import SACAlgorithm, SACAlgorithmConfig
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"SACAlgorithm",
|
"SACAlgorithm",
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from lerobot.rl.algorithms.sac.configuration_sac import SACAlgorithmConfig
|
from .configuration_sac import SACAlgorithmConfig
|
||||||
from lerobot.rl.algorithms.sac.sac_algorithm import SACAlgorithm
|
from .sac_algorithm import SACAlgorithm
|
||||||
|
|
||||||
__all__ = ["SACAlgorithm", "SACAlgorithmConfig"]
|
__all__ = ["SACAlgorithm", "SACAlgorithmConfig"]
|
||||||
|
|||||||
Reference in New Issue
Block a user