Sagar18 commited on
Commit
10a96fa
1 Parent(s): 2655a3a

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -13,11 +13,11 @@ This dataset contains episodes of a ball maze environment, converted to the LeRo
13
 
14
  ```
15
  Sagar18/ball-maze-lerobot/
16
- ├── dataset/ # HuggingFace dataset files
 
 
17
  ├── episode_data_index.safetensors # Episode indexing information
18
- ├── stats.safetensors # Dataset statistics
19
- └── meta_data/
20
- └── info.json # Dataset metadata
21
  ```
22
 
23
  ## Features
@@ -30,15 +30,20 @@ Sagar18/ball-maze-lerobot/
30
  ## Usage
31
 
32
  ```python
33
- from lerobot.common.datasets.lerobot_dataset import LeRobotDataset
34
 
35
- dataset = LeRobotDataset("Sagar18/ball-maze-lerobot")
36
  ```
37
 
38
- ## Visualization
39
 
40
- You can visualize episodes using the LeRobot visualization tools:
41
 
42
- ```bash
43
- python lerobot/scripts/visualize_dataset.py --repo-id Sagar18/ball-maze-lerobot --episode-index 0
 
 
 
 
 
44
  ```
 
13
 
14
  ```
15
  Sagar18/ball-maze-lerobot/
16
+ ├── data/ # Main dataset files
17
+ ├── metadata/ # Dataset metadata
18
+ │ └── info.json # Configuration and version info
19
  ├── episode_data_index.safetensors # Episode indexing information
20
+ └── stats.safetensors # Dataset statistics
 
 
21
  ```
22
 
23
  ## Features
 
30
  ## Usage
31
 
32
  ```python
33
+ from datasets import load_dataset
34
 
35
+ dataset = load_dataset("Sagar18/ball-maze-lerobot", "data") # Use the data subfolder
36
  ```
37
 
38
+ ## Metadata
39
 
40
+ The metadata contains configuration information and can be accessed separately:
41
 
42
+ ```python
43
+ import json
44
+ from huggingface_hub import hf_hub_download
45
+
46
+ info_path = hf_hub_download(repo_id="Sagar18/ball-maze-lerobot", filename="metadata/info.json")
47
+ with open(info_path) as f:
48
+ info = json.load(f)
49
  ```
data/data-00000-of-00001.arrow ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3e13997e203f03dd663d582a4b074c6cd84d5bd844b779298dfb92e7ea23e57
3
+ size 109258832
data/dataset_info.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "citation": "",
3
+ "description": "",
4
+ "features": {
5
+ "episode_index": {
6
+ "dtype": "int64",
7
+ "_type": "Value"
8
+ },
9
+ "frame_index": {
10
+ "dtype": "int64",
11
+ "_type": "Value"
12
+ },
13
+ "timestamp": {
14
+ "dtype": "float32",
15
+ "_type": "Value"
16
+ },
17
+ "camera.rgb": {
18
+ "_type": "Image"
19
+ },
20
+ "observation.state": {
21
+ "feature": {
22
+ "dtype": "float32",
23
+ "_type": "Value"
24
+ },
25
+ "length": 4,
26
+ "_type": "Sequence"
27
+ },
28
+ "action": {
29
+ "feature": {
30
+ "dtype": "float32",
31
+ "_type": "Value"
32
+ },
33
+ "length": 2,
34
+ "_type": "Sequence"
35
+ },
36
+ "next.done": {
37
+ "dtype": "bool",
38
+ "_type": "Value"
39
+ },
40
+ "index": {
41
+ "dtype": "int64",
42
+ "_type": "Value"
43
+ }
44
+ },
45
+ "homepage": "",
46
+ "license": ""
47
+ }
data/state.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_data_files": [
3
+ {
4
+ "filename": "data-00000-of-00001.arrow"
5
+ }
6
+ ],
7
+ "_fingerprint": "cdfd46e92d83ea6e",
8
+ "_format_columns": null,
9
+ "_format_kwargs": {},
10
+ "_format_type": null,
11
+ "_output_all_columns": false,
12
+ "_split": null
13
+ }
metadata/info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"fps": 30, "video": false, "version": "v1.6"}