File size: 1,691 Bytes
49c11ee
 
 
 
 
f242ea8
 
49c11ee
 
 
 
6c0bd0b
 
9901ded
 
6442fbd
1602469
 
6ae6e49
147aaec
 
6c0bd0b
6ae6e49
360f48f
1602469
6ae6e49
1602469
 
9901ded
1602469
6ae6e49
360f48f
 
 
 
 
 
23aef68
 
 
 
 
 
 
 
 
6c0bd0b
e335595
6c0bd0b
e335595
6c0bd0b
e335595
 
 
 
 
 
1602469
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
title: Preview Dataset
emoji: 👀
colorFrom: yellow
colorTo: yellow
sdk: docker
app_port: 7860
pinned: false
license: mit
---

# Rerun visualization of Hugging Face datasets
Visualize Hugging Face datasets using [Rerun](https://www.rerun.io/).

Originally built for the LeRobot datasets:

* https://huggingface.co/lerobot
* https://huggingface.co/datasets/lerobot/pusht

https://github.com/rerun-io/python-example-lerobot/assets/1148717/19e9983c-531f-4c48-9b37-37c5cbe1e0bd

Deployed live on Hugging Face: https://huggingface.co/spaces/rerun/preview_dataset

## Getting started (native)
Requires Python 3.10 or higher.

```sh
pip install -r requirements.txt
python main.py --dataset lerobot/aloha_sim_insertion_human
```

## Getting started (gradio)
```sh
pip install -r requirements.txt
uvicorn app:app --reload
```
## Example datasets to explore:
* `lerobot/aloha_sim_insertion_human`
* `lerobot/aloha_sim_insertion_scripted`
* `lerobot/aloha_sim_transfer_cube_human`
* `lerobot/aloha_sim_transfer_cube_scripted`
* `lerobot/pusht`
* `lerobot/xarm_lift_medium`
* `nateraw/kitti`
* `sayakpaul/nyu_depth_v2`

## Deploying to Hugging Face

Hugging Face space runs off of the head `main` branch pushed to: https://huggingface.co/spaces/rerun/preview_dataset/tree/main

To update this from the rerun repository, add the Hugging Face repository as an additional remote,
and then push to it.
```sh
git remote add huggingface [email protected]:spaces/rerun/preview_dataset
git push huggingface main
```

## Note for the maintainer
You can update this repository with the latest changes from https://github.com/rerun-io/rerun_template by running `scripts/template_update.py update --languages python`.