Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- robomimic
|
| 4 |
+
- robotics
|
| 5 |
+
- imitation-learning
|
| 6 |
+
- flow-matching
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# WarmPrior Robomimic Checkpoints
|
| 10 |
+
|
| 11 |
+
This repository contains model checkpoints from the WarmPrior_Robomimic experiments.
|
| 12 |
+
|
| 13 |
+
## Repository Structure
|
| 14 |
+
|
| 15 |
+
Each experiment run is stored in its own folder with the following structure:
|
| 16 |
+
|
| 17 |
+
```
|
| 18 |
+
run_name/
|
| 19 |
+
βββ model_best.pt # Best performing checkpoint
|
| 20 |
+
βββ model_latest.pt # Latest checkpoint
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
## Available Runs
|
| 24 |
+
|
| 25 |
+
| Run Name | Method | Best | Latest |
|
| 26 |
+
|----------|--------|------|--------|
|
| 27 |
+
| `AC_0114_172910_square_mh_image_flow_chitransformer_384_seed0` | AC | β
| β
|
|
| 28 |
+
| `AC_0116_181559_tool_hang_ph_image_flow_chitransformer_384_seed0` | AC | β
| β
|
|
| 29 |
+
| `BASE_0114_172809_square_mh_image_flow_chitransformer_384_seed0` | BASE | β
| β
|
|
| 30 |
+
| `BASE_0114_172910_tool_hang_ph_image_flow_chitransformer_384_seed0` | BASE | β
| β
|
|
| 31 |
+
| `BASE_0116_181559_square_mh_image_flow_chiunet_256_seed0` | BASE | β
| β
|
|
| 32 |
+
| `BASE_0120_003513_Baseline_tool_hang_ph_image_flow_chiunet_256_seed0` | BASE | β | β |
|
| 33 |
+
|
| 34 |
+
## Usage
|
| 35 |
+
|
| 36 |
+
To download a specific checkpoint:
|
| 37 |
+
|
| 38 |
+
```python
|
| 39 |
+
from huggingface_hub import hf_hub_download
|
| 40 |
+
import torch
|
| 41 |
+
|
| 42 |
+
# Download a specific checkpoint
|
| 43 |
+
model_path = hf_hub_download(
|
| 44 |
+
repo_id="SinjaeKang/wp_robomimic",
|
| 45 |
+
filename="RUN_NAME/model_best.pt"
|
| 46 |
+
)
|
| 47 |
+
|
| 48 |
+
# Load the model
|
| 49 |
+
checkpoint = torch.load(model_path, map_location='cpu')
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
Or download all checkpoints:
|
| 53 |
+
|
| 54 |
+
```python
|
| 55 |
+
from huggingface_hub import snapshot_download
|
| 56 |
+
|
| 57 |
+
# Download entire repository
|
| 58 |
+
local_dir = snapshot_download(
|
| 59 |
+
repo_id="SinjaeKang/wp_robomimic",
|
| 60 |
+
local_dir="./checkpoints"
|
| 61 |
+
)
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
## Methods
|
| 65 |
+
|
| 66 |
+
- **BASE**: Baseline model without warm prior
|
| 67 |
+
- **PA**: Previous Action warm prior
|
| 68 |
+
- **AC**: Action Chunk warm prior
|
| 69 |
+
|
| 70 |
+
## Training Details
|
| 71 |
+
|
| 72 |
+
For more information about the training procedure and methodology, please refer to the [WarmPrior_Robomimic repository](https://github.com/YourUsername/WarmPrior_Robomimic).
|