You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For full documentation visit [mkdocs.org](https://www.mkdocs.org).
3
+
**Fog-X is an efficient and scalable data collection and management framework for robotics learning.**
4
+
Supports datasets from [Open-X-Embodiment](https://robotics-transformer-x.github.io/) and 🤗[HuggingFace](https://huggingface.co/).
5
+
Fog-X considers both speed 🚀 and memory efficiency 📈 with active metadata and lazily-loaded trajectory data. It supports flexible and distributed dataset partitioning.
4
6
5
-
## Commands
7
+
## Installation
6
8
7
-
*`mkdocs new [dir-name]` - Create a new project.
8
-
*`mkdocs serve` - Start the live-reloading docs server.
9
-
*`mkdocs build` - Build the documentation site.
10
-
*`mkdocs -h` - Print help message and exit.
9
+
```bash
10
+
pip install fogx
11
+
```
11
12
12
-
## Project layout
13
+
## Usage
13
14
14
-
mkdocs.yml # The configuration file.
15
-
docs/
16
-
index.md # The documentation homepage.
17
-
... # Other markdown pages, images and other files.
15
+
See [Usage Guide](./usage.md) for an overview of how to use Fog-X.
16
+
17
+
You can also view [working examples on GitHub](https://github.com/KeplerC/fog_x/tree/main/examples).
The code examples below will assume the following import:
3
+
```py
4
+
import fog_x as fox
5
+
```
6
+
7
+
## Definitions
8
+
-**episode**: one robot trajectory or action, consisting of multiple step data.
9
+
-**step data**: data representing a snapshot of the robot action at a certain time
10
+
-**metadata**: information that is consistent across a certain episode, e.g. the language instruction associated with the robot action, the name of the person collecting the data, or any other tags/labels.
11
+
12
+
## The Fog-X Dataset
13
+
To start, create a `Dataset` object. Any data that is collected, loaded, or exported
14
+
will be saved to the provided path.
15
+
There can be existing Fog-X data located at the path as well, so that you can continue
Load any RT-X robotics data available at [Tensorflow Datasets](https://www.tensorflow.org/datasets/catalog/).
76
+
You can also find a preview of all the RT-X datasets [here](https://dibyaghosh.com/rtx_viz/).
77
+
78
+
When loading the episodes, you can optionally specify `additional_metadata` to be associated with it.
79
+
You can also load a specific portion of train or test data with the `split` parameter. See the [Tensorflow Split API](https://www.tensorflow.org/datasets/splits) for specifics.
name (str): Name of RT-X episodes, which can be found at [Tensorflow Datasets](https://www.tensorflow.org/datasets/catalog) under the Robotics category
304
+
split (optional str): the portion of data to load, see [Tensorflow Split API](https://www.tensorflow.org/datasets/splits)
305
+
additional_metadata (optional Dict[str, Any]): additional metadata to be associated with the loaded episodes
0 commit comments