Guides

Datasets

What a folder of robot recordings has to contain before bicameral will train on it, how to send it up from your browser, and what to do when the check finds something wrong.

Everything a policy learns, it learns from recordings you made. This page is about getting those recordings out of your own machine and into bicameral: what the folder has to look like, how to send it, and how to read what the checks tell you.

The words on this page

An episode is one recording: the robot attempting a task once, start to finish. It is the unit you count, upload, review and train on. Think of one recorded test run.

Inside an episode, the robot is sampled at a fixed control rate — how many times per second its position was written down, usually 30 or 50. At 30 samples a second, a two-second episode holds 60 samples.

Each sample holds two things worth knowing by name. The state is what the robot's body was actually doing at that instant: one number per joint, plus one for the gripper — the hand at the end of the arm, usually recorded as how far open it is. The action is the command that was sent for that instant. State is what happened; action is what was asked for, and it is the thing a policy learns to produce.

Every episode also carries a task sentence — a plain sentence saying what the episode was meant to achieve, such as "pick up the red block". Later, that sentence is what lets you steer a finished policy by telling it what to do.

bicameral reads one recording format: LeRobot version 2.1, an open layout for robot recordings. If your recording software can write version 2.1, you have nothing to convert.

The folder you are assembling

A dataset is one ordinary folder on your computer. It holds three folders — one for descriptions, one for the recorded numbers, one for the camera video — and nothing else is required.

This is a complete, valid example: two episodes, one camera.

my_pick_place/                    <- select THIS folder when you upload
  meta/
    info.json                     what the dataset is: control rate, cameras, counts
    episodes.jsonl                one line per episode: its number, its task, its length
    tasks.jsonl                   the task sentences this dataset uses
    episodes_stats.jsonl          summary numbers for each episode
  data/
    chunk-000/
      episode_000000.parquet      the recorded numbers for the first episode
      episode_000001.parquet      the second episode
  videos/
    chunk-000/
      observation.images.wrist/   one folder per camera, named for that camera
        episode_000000.mp4        the first episode, seen by that camera
        episode_000001.mp4

Three things about that layout are worth understanding, because almost every rejected upload comes back to one of them.

The four description files in meta/ are the inventory. They say how many episodes exist, how long each one is, and what each one was for. Everything else in the folder is checked against them. If the inventory lists an episode, the recording and the video for that episode have to be there.

File names are not free-form. Each episode's recording and video are named by the episode's number, padded with zeros, and episodes are grouped a thousand at a time into chunk- folders — so until you have a thousand episodes, everything sits in chunk-000. Recording software that writes version 2.1 names all of this for you.

One folder per camera. Each camera gets its own folder under videos/chunk-000/, named after that camera, holding one video file per episode. Two cameras and 500 episodes means two folders of 500 videos each.

Where these files come from

You do not normally type any of this by hand. A recorder that supports version 2.1 writes the whole tree as you record, and a dataset downloaded from a public collection arrives with it already in place. Your job is to check that it is complete and hand bicameral the right folder.

Before you send anything

Four things are worth two minutes of your own time, because a failed upload is discarded in full — a folder that fails after forty minutes of transfer costs you forty minutes.

Upload it

  1. Sign in at https://bicameral.studio and attach a payment method if you have not already. Until you do, the folder-picker button stays greyed out and says so. An unpaid invoice or an exhausted weekly budget greys it out the same way — see Account & billing.
  2. Click Visualize in the top navigation, then the blue Datasets button at the left of the toolbar. The Dataset Manager drawer opens with an Import Dataset card at the top.
  3. Leave Action set to Upload, and set Source to LeRobot.
  4. Click Select LeRobot dataset folder and choose the folder that directly contains meta/, data/ and videos/. Choosing the folder above it is the single most common mistake on this screen.
  5. Wait a moment while your browser checks the folder. It reads the inventory, works out every recording and video file that ought to exist, and confirms each one is present and not empty. Nothing leaves your machine unless this passes.
  6. Wait for the cost check. bicameral adds up what you selected and confirms your weekly budget can cover storing it. If it cannot, you are told before a single byte moves.
  7. Watch the progress bar. It shows how much of the folder has gone up and how much is left. Keep the tab open and do not navigate away.
  8. At 100% the message changes to say the upload is finished and bicameral is now checking and registering the dataset, and asks you to keep the tab open. This last pass compares what actually arrived against what your inventory promised.
  9. Success shows the episode count and the dataset's name, and the dataset appears in the Dataset Directory tree below the card.

There is no resume, and a failure discards everything

A failed check, a dropped connection, a closed tab or a cancellation deletes every byte already transferred and removes the dataset entirely. Nothing partial survives, nothing appears in your dataset list, and a retry starts from zero. Uploads also run one at a time — a second folder waits for the first to finish.

What the limits actually are

Limit What it means for you
Files in one upload Up to 50,000. A thousand episodes with two cameras is around 3,000 files, so most datasets are nowhere near this. Past it, split the recordings into two uploads.
Time for one upload One hour, counted from the start of the transfer and including the final check. Past that the upload is cut off and discarded.
Folder size No fixed ceiling. Folders of 60 GB and more go through, provided they finish inside the hour. On a slow connection, split them.
Uploads at once One at a time.

An upload you abandon — a crashed browser, a laptop that went to sleep — is cleaned up on its own. You are not left paying to store half a dataset.

When the check stops you

Everything below happens on screen, in words, before or during the upload. The fix is almost always in your own folder.

What you see What to do
The picker says the folder has no description files and asks you to select the dataset root You chose the folder above your dataset. Re-open the picker and choose the folder that directly contains meta/, data/ and videos/.
A message that this is version 3.0, or that the episode inventory is missing Get the version 2.1 copy of the dataset and select that instead.
A count of files that are 0 bytes The recordings and videos were never really downloaded — you have placeholders. Fetch the large files in the folder, then select it again. Nothing was sent.
A count of missing recording or video files, with the first one named Episodes are listed in the inventory but are not on disk. Either put the files back, or remove those episodes from the inventory.
A complaint about one line of the episode inventory One line of that file is malformed. Fix or remove that single line and select the folder again.
The folder-picker button is greyed out and mentions billing No payment method, an unpaid invoice, or an exhausted weekly budget. Sort it out on the Billing page and come back.
A message that your weekly budget cannot cover storing this dataset Raise the weekly limit on Billing, or delete datasets you no longer need. Nothing was transferred.
A message that only some of the files reached bicameral The connection was interrupted. Retry from the beginning, ideally on a steadier connection.
A message that the upload was aborted, or that the connection dropped The tab was closed or refreshed, or the network went. Start again — there is no partial state to resume.
A timeout after a very long transfer You went past the one-hour limit. Retry on a faster connection, or split the folder into several uploads.
A prompt to sign in again Your session expired while you were working. Sign in and start the upload again.

Two problems that surface later

Both of these let an upload succeed and then bite the first time something opens the dataset — under Visualize, or at the start of a training run.

Ready to train

A dataset becomes training-ready the moment the final check finishes — the step after the progress bar hits 100%. Until then it is not in any list. There is nothing else to enable and nothing to wait for afterwards.

You can tell it worked in two places. In the Dataset Directory tree, the dataset is listed with its episodes. And when you start a new training run, it appears in the dataset picker marked training-ready, alongside its episode count and size. A dataset that is not in that picker did not finish its check.

Review before you train

A stored dataset is not the last stop. Trimming dead air, labelling spans and marking failures changes what a policy learns more than adding recordings usually does, and costs no robot time — see Review & annotate.

After it lands

What you want Where it is
Rename the dataset The pencil icon on the dataset's row in the Dataset Manager. Letters, digits, underscores and hyphens only. If the name is taken, you are asked for another.
Change the task sentences The Edit Tasks button (shortcut T) in the Dataset Manager. Useful when a recorder wrote a generic label on every episode. The list cannot be left empty.
Delete the dataset The Dataset Manager. Deletion is permanent, and it is refused while a training run is using the dataset — cancel the run or wait for it, then delete.

Do not append to a dataset, and do not upload over one

The Append action and a second upload onto a dataset that already exists are not safe. They can permanently destroy the episodes already stored while the dataset carries on claiming those episodes exist and still showing as training-ready. To add recordings, upload them as a new dataset and add both datasets to your training run.

Keep your own copy of everything you upload

The Download dataset action does not give you your recordings back. It returns the small description files and very little else, and it reports success while doing it. There is no supported way to retrieve a full dataset once it is stored, so never let bicameral hold your only copy.