__key__
stringclasses
1 value
__url__
stringclasses
1 value
/dataset_info.json
unknown
/features.json
unknown
/transport_cubes-train.tfrecord-00000
unknown
/transport_cubes-train.tfrecord-00001
unknown
"hf://datasets/peterdavidfagan/transporter_networks@4b5c1d95f40d7bfeb31460ddb080f5b1fb4216cf/data.ta(...TRUNCATED)
"ewogICJmaWxlRm9ybWF0IjogInRmcmVjb3JkIiwKICAibmFtZSI6ICJ0cmFuc3BvcnRfY3ViZXMiLAogICJzcGxpdHMiOiBbCiA(...TRUNCATED)
"ewogICAgInB5dGhvbkNsYXNzTmFtZSI6ICJ0ZW5zb3JmbG93X2RhdGFzZXRzLmNvcmUuZmVhdHVyZXMuZmVhdHVyZXNfZGljdC5(...TRUNCATED)
"WPffBAAAAAB+WRoICtPu/yYKOQoLZGVwdGhfdG9waWMSKgooCiYvemVkL3plZF9jYW1lcmEvZGVwdGgvZGVwdGhfcmVnaXN0ZXJ(...TRUNCATED)
"L2XJBAAAAABNh7TXCqrKpSYKGQoNZXh0cmluc2ljcy9xeBIIEgYKBJqoLT8KGQoNaW50cmluc2ljcy9jeBIIEgYKBFB4DEQKGAo(...TRUNCATED)

Open In Colab

Dataset

This dataset is used to train a transporter network for real-world pick/place. The dataset is in TFDS format and was collected using moveit2_data_collector.

Download

An example of downloading and loading the dataset is given below, as larger datasets are uploaded this example script will change:

import os
import tarfile

import tensorflow_datasets as tfds
from huggingface_hub import hf_hub_download

DATA_DIR="/home/robot"
FILENAME="data.tar.xz"
EXTRACTED_FILENAME="data"
FILEPATH=os.path.join(DATA_DIR, FILENAME)

# download data from huggingface
hf_hub_download(
        repo_id="peterdavidfagan/transporter_networks", 
        repo_type="dataset",
        filename=FILENAME,
        local_dir=DATA_DIR,
        )

# uncompress file
with tarfile.open(FILEPATH, 'r:xz') as tar:
    tar.extractall(path=DATA_DIR)
os.remove(FILEPATH)

# load with tfds
ds = tfds.builder_from_directory(DATA_DIR).as_dataset()['train']

# basic inspection of data
print(ds.element_spec)
for eps in ds:
    print(eps["extrinsics"])
    for step in eps["steps"]:
        print(step["is_first"])
        print(step["is_last"])
        print(step["is_terminal"])
        print(step["action"])

Model Training

Please see the robot_learning_baselines repository for examples of training the transporter network architecture in Flax.

Pretrained Models

To be published soon under https://huggingface.co/peterdavidfagan.

Downloads last month
52
Edit dataset card

Models trained or fine-tuned on peterdavidfagan/transporter_networks