Downloads · 30 days
2
1% of all-time downloads
Gogul99/RoboMamba_DINO_ACT_Policy
RoboMamba_DINO_ACT_Policy is a machine learning model from Gogul99. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A state-of-the-art imitation learning policy combining Meta AI's DINOv2 self-supervised vision backbone, RoboMamba State Space Models (SSM) sequence encoder, and ACT Action Chunking Transformer decoder for high-precis…
Downloads · 30 days
2
1% of all-time downloads
All-time downloads
141
Public
Repo size
1.4 GB
Likes
0
Public
Click a slice to open those files.
.pt1.4 GB · 100%
From the Hugging Face model README
A state-of-the-art imitation learning policy combining Meta AI's DINOv2 self-supervised vision backbone, RoboMamba State Space Models (SSM) sequence encoder, and ACT Action Chunking Transformer decoder for high-precision robotic manipulation.
DINOv2 Vision Backbone (dinov2_vits14):
RoboMamba Sequence Encoder:
ACT (Action Chunking Transformer):
RoboMamba_DINO_ACT_Policy/
├── config.yaml # Training & model hyperparameters
├── dataset/
│ └── hf_dataset.py # LeRobot HuggingFace dataset loader with ImageNet z-scoring & 224x224 resize
├── models/
│ ├── dino_backbone.py # DINOv2 feature extractor with spatial patch pooling & projection
│ ├── mamba_block.py # RoboMamba State Space Model encoder layer
│ ├── act_decoder.py # CVAE Encoder & ACT Transformer Query Decoder
│ └── policy.py # Full unified DINOv2RoboMambaACTPolicy module
├── train.py # Full PyTorch training loop with AdamW, Cosine LR, and checkpointing
├── eval_leisaac.py # Evaluation connector for Isaac Sim & hardware execution with temporal ensembling
└── README.md
Run the training loop on HuggingFace dataset (e.g. Gogul99/300_episode):
python train.py
config.yaml)Edit config.yaml to customize dataset, backbone, or training parameters:
model:
dino_backbone: "dinov2_vits14" # Options: dinov2_vits14, dinov2_vitb14
freeze_dino: true # Freeze DINOv2 backbone for fast training and low memory
d_model: 512 # Mamba and ACT feature dimension
chunk_size: 16 # Action prediction horizon
To evaluate the trained checkpoint in Isaac Sim:
PYTHONPATH=.:$PYTHONPATH \
python scripts/evaluation/policy_inference.py \
--task LeIsaac-SO101-CustomTask-v0 \
--policy_type robomamba-act \
--policy_checkpoint_path ./checkpoints/best_model.pt