Instructions to use Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Sana
How to use Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot with Sana:
# Load the model and infer image from text import torch from app.sana_pipeline import SanaPipeline from torchvision.utils import save_image sana = SanaPipeline("configs/sana_config/1024ms/Sana_1600M_img1024.yaml") sana.from_pretrained("hf://Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot") image = sana( prompt='a cyberpunk cat with a neon sign that says "Sana"', height=1024, width=1024, guidance_scale=5.0, pag_guidance_scale=2.0, num_inference_steps=18, ) - Notebooks
- Google Colab
- Kaggle
Download policy_postprocessor.json from Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot: direct link, hf CLI and curl.
- Browser
- Download file 661 Bytes
-
https://huggingface.co/Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot/resolve/main/policy_postprocessor.json
- Command line
-
hf download hf://Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot/policy_postprocessor.json
-
curl -L -o policy_postprocessor.json https://huggingface.co/Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot/resolve/main/policy_postprocessor.json
661 Bytes
| { | |
| "name": "policy_postprocessor", | |
| "steps": [ | |
| { | |
| "registry_name": "unnormalizer_processor", | |
| "config": { | |
| "eps": 1e-08, | |
| "features": { | |
| "action": { | |
| "type": "ACTION", | |
| "shape": [ | |
| 10 | |
| ] | |
| } | |
| }, | |
| "norm_map": { | |
| "VISUAL": "IDENTITY", | |
| "STATE": "MEAN_STD", | |
| "ACTION": "MEAN_STD" | |
| } | |
| }, | |
| "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors" | |
| }, | |
| { | |
| "registry_name": "device_processor", | |
| "config": { | |
| "device": "cpu", | |
| "float_dtype": null | |
| } | |
| } | |
| ] | |
| } |