Improve discoverability on the hub (#325)
Co-authored-by: Lucain <lucainp@gmail.com> Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com>
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -121,6 +121,7 @@ celerybeat.pid
|
|||||||
# Environments
|
# Environments
|
||||||
.env
|
.env
|
||||||
.venv
|
.venv
|
||||||
|
env/
|
||||||
venv/
|
venv/
|
||||||
env.bak/
|
env.bak/
|
||||||
venv.bak/
|
venv.bak/
|
||||||
|
|||||||
@@ -38,7 +38,13 @@ from lerobot.common.policies.act.configuration_act import ACTConfig
|
|||||||
from lerobot.common.policies.normalize import Normalize, Unnormalize
|
from lerobot.common.policies.normalize import Normalize, Unnormalize
|
||||||
|
|
||||||
|
|
||||||
class ACTPolicy(nn.Module, PyTorchModelHubMixin):
|
class ACTPolicy(
|
||||||
|
nn.Module,
|
||||||
|
PyTorchModelHubMixin,
|
||||||
|
library_name="lerobot",
|
||||||
|
repo_url="https://github.com/huggingface/lerobot",
|
||||||
|
tags=["robotics", "act"],
|
||||||
|
):
|
||||||
"""
|
"""
|
||||||
Action Chunking Transformer Policy as per Learning Fine-Grained Bimanual Manipulation with Low-Cost
|
Action Chunking Transformer Policy as per Learning Fine-Grained Bimanual Manipulation with Low-Cost
|
||||||
Hardware (paper: https://arxiv.org/abs/2304.13705, code: https://github.com/tonyzhaozh/act)
|
Hardware (paper: https://arxiv.org/abs/2304.13705, code: https://github.com/tonyzhaozh/act)
|
||||||
|
|||||||
@@ -43,7 +43,13 @@ from lerobot.common.policies.utils import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class DiffusionPolicy(nn.Module, PyTorchModelHubMixin):
|
class DiffusionPolicy(
|
||||||
|
nn.Module,
|
||||||
|
PyTorchModelHubMixin,
|
||||||
|
library_name="lerobot",
|
||||||
|
repo_url="https://github.com/huggingface/lerobot",
|
||||||
|
tags=["robotics", "diffusion-policy"],
|
||||||
|
):
|
||||||
"""
|
"""
|
||||||
Diffusion Policy as per "Diffusion Policy: Visuomotor Policy Learning via Action Diffusion"
|
Diffusion Policy as per "Diffusion Policy: Visuomotor Policy Learning via Action Diffusion"
|
||||||
(paper: https://arxiv.org/abs/2303.04137, code: https://github.com/real-stanford/diffusion_policy).
|
(paper: https://arxiv.org/abs/2303.04137, code: https://github.com/real-stanford/diffusion_policy).
|
||||||
|
|||||||
@@ -41,7 +41,13 @@ from lerobot.common.policies.tdmpc.configuration_tdmpc import TDMPCConfig
|
|||||||
from lerobot.common.policies.utils import get_device_from_parameters, populate_queues
|
from lerobot.common.policies.utils import get_device_from_parameters, populate_queues
|
||||||
|
|
||||||
|
|
||||||
class TDMPCPolicy(nn.Module, PyTorchModelHubMixin):
|
class TDMPCPolicy(
|
||||||
|
nn.Module,
|
||||||
|
PyTorchModelHubMixin,
|
||||||
|
library_name="lerobot",
|
||||||
|
repo_url="https://github.com/huggingface/lerobot",
|
||||||
|
tags=["robotics", "tdmpc"],
|
||||||
|
):
|
||||||
"""Implementation of TD-MPC learning + inference.
|
"""Implementation of TD-MPC learning + inference.
|
||||||
|
|
||||||
Please note several warnings for this policy.
|
Please note several warnings for this policy.
|
||||||
|
|||||||
@@ -38,7 +38,13 @@ from lerobot.common.policies.vqbet.vqbet_utils import GPT, ResidualVQ
|
|||||||
# ruff: noqa: N806
|
# ruff: noqa: N806
|
||||||
|
|
||||||
|
|
||||||
class VQBeTPolicy(nn.Module, PyTorchModelHubMixin):
|
class VQBeTPolicy(
|
||||||
|
nn.Module,
|
||||||
|
PyTorchModelHubMixin,
|
||||||
|
library_name="lerobot",
|
||||||
|
repo_url="https://github.com/huggingface/lerobot",
|
||||||
|
tags=["robotics", "vqbet"],
|
||||||
|
):
|
||||||
"""
|
"""
|
||||||
VQ-BeT Policy as per "Behavior Generation with Latent Actions"
|
VQ-BeT Policy as per "Behavior Generation with Latent Actions"
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user