Guides

Training

Turn your recorded episodes into a trained policy — how to fill in the launch wizard, how to read the price before you commit, and how to tell a healthy run from one worth stopping.

What a training run gives you

Three words carry this page.

A policy is a trained model that drives a robot instead of writing text. You give it camera frames, the robot's current pose, and a short instruction in plain English — "pick up the red block" — and it hands back the numbers that move the motors.

An episode is one recording: a single continuous attempt at the task, camera video and joint positions captured together against the same clock. A dataset is a folder of those episodes. Uploading them is covered in Datasets; cleaning them up first is Review & annotate.

Training here means starting from the bicameral base policy — which already knows a great deal about seeing and moving — and continuing to teach it with your own recordings until it specialises in your robot and your task. You never start from nothing, which is why a run takes hours rather than weeks.

A run takes datasets in and produces one trained policy. You do not download that policy as a file. You use it by starting an inference service from the finished run, which is Inference services.

Before you start

You need three things in place, or the wizard will stop you.

Open the launch wizard

Sign in at https://bicameral.studio and click New Job in the top navigation. The wizard has three steps, shown across the top: Datasets, Configuration, and Review & Launch. You can move back and forth between them until you launch.

The wizard does not save drafts

Everything you type lives in the browser tab. Reloading the page or closing the tab throws the whole configuration away, and there is nothing to recover. If you are setting up a long mixture, do it in one sitting.

Step 1 — Choose your data

  1. In the search box reading Search your uploaded datasets…, type part of a dataset name. Results appear as you type; leave the box empty to see everything you have.
  2. Click a dataset card to add it. The button on the card flips from Add to Added, and the dataset drops into the list below.
  3. Give each added dataset a Weight. It starts at 1. Any number above zero is allowed; zero is not.
  4. Optionally fill in the Episodes box for a dataset to use only some of its episodes. Leave it blank to use all of them.
  5. Remove a dataset you added by mistake with the trash icon beside it.
  6. Click Continue.

If the search comes back empty, you have nothing training-ready yet — the page says so and points you at Visualize to upload and annotate a dataset first.

Continue stays greyed out until every weight is above zero and every episode list is valid. Hover it and the wizard tells you which line it is unhappy with.

What a weight does

A run can train on several datasets at once. The weight is how heavily each one is drawn from, and only the ratios matter: a dataset at weight 2 is sampled about twice as often as one at weight 1, and 20 against 10 means exactly the same thing as 2 against 1.

Weight is how you stop a big generic dataset from drowning out a small, carefully checked one. If you have 400 rough episodes and 40 good ones of the task you actually care about, giving the good set a higher weight is usually worth more than recording another hundred rough episodes.

Choosing episodes

The Episodes box takes episode numbers separated by commas, counting from zero — typing 0,1,2 uses the first three episodes of that dataset and nothing else. Anything other than plain whole numbers separated by commas is rejected, with a message showing the expected shape.

This is the quick way to drop takes you know are bad — a failed grasp, a bumped camera — without editing or re-uploading anything. The stored dataset is untouched, and the finished run records exactly which episodes it used. Leave the box blank and the review step shows Episodes: All.

Step 2 — Set up the run

Step 2 is one screen of settings. Every one has a working default, and for a first run the only one worth changing is Steps.

Setting Default What it changes
Steps 100,000 How long the run trains. One step is one small correction to the model. This is the biggest single lever on both how long the run takes and what it costs.
Num cameras 2 How many camera views the policy reads at once. Must match how many cameras your recordings actually contain.
Batch size 8 How many examples the run looks at before each correction. Larger values make training steadier and need more room to run; smaller values are safer.
Action chunk 50 How many future commands the policy predicts in one go. Recordings are all played back at 30 commands per second, so 50 is about 1.7 seconds of motion per prediction.
Max action dim 32 The width of the command list the policy produces. Leave it alone unless your robot has an unusual number of joints.
Max state dim 32 The width of the pose list the policy reads. Same advice.
Prompt max length 256 How much room the instruction text attached to each episode has. Far more than "pick up the red block" needs.
Response max length 52 How much room the policy has for text-style output alongside its motor commands. Leave it at the default.
Max delay 0 How many commands at the front of a prediction may be treated as already gone by, to absorb the lag between asking and the robot moving. Leave at 0 unless you are tuning a robot whose control loop cannot wait.
Memory mode Standard How much room a large configuration is given. See Memory mode.

Continue stays greyed out while any number is zero or negative, or while Max delay is larger than Action chunk.

What the width settings mean

At any instant the robot's pose is a plain list of numbers: one for each joint angle, plus one for how far open the gripper — the hand at the end of the arm — is. The command the policy sends back is the same idea in reverse: one number per joint it can drive, plus the gripper. For most arms both lists come out at number of joints plus one.

Max state dim and Max action dim are the widths the policy is built around. Real robots are narrower than 32, and their shorter lists are simply padded out. Making them smaller saves almost nothing and risks cutting off part of your data, so leave them at 32 unless you know your robot is wider than that.

How to choose

Steps — start small. A first run of two or three thousand steps proves the whole path for a small fraction of the money: your data loads, your settings are sane, billing works, and you can deploy the result. Treat 100,000 as an upper bound, not a plan. Watch how fast the step counter climbs during that short run, then use that rate to size both the step count and the runtime cap of the real one.

Num cameras — count them in your recordings. Nothing checks this against your data before the run starts, so a mismatch does not stop you launching; it surfaces later as a failed run that has already spent time and money. Datasets shows where to check how many camera views a recording holds. The resolutions do not need to match each other — frames are resized for you.

Batch size — the memory knob. Raise it if your runs are comfortable and you want steadier training. Lower it first if a run fails saying it ran out of room. Nothing checks it before launch either, so an over-ambitious value costs you a failed run.

Action chunk — a trade. Longer chunks mean fewer calls per second of robot motion, which gives your control loop more slack, but they ask the policy to commit further into the future, which is a harder thing to learn. The default is a good place to stay. Note that this number also shapes what an inference call gives back later, so changing it changes how you drive the robot.

Prompt max length — only if your labels are long. Raise it if your episodes carry multi-sentence instructions rather than short commands.

Memory mode

Setting When to use it
Standard The default, and the fastest. Use it until a run actually fails.
Extended Use if a run fails saying it ran out of room. Slightly slower.
Maximum Use only if Extended still runs out of room. Slowest.

Escalate only after a failure, never in advance — a higher mode makes every run slower. Lowering Batch size solves the same problem and is usually the cheaper fix, so try that first. Whichever mode you picked shows as a coloured badge on the run's page.

What is fixed for every run

You cannot change these, but they explain what you will see later.

Fixed for every run What it means for you
The correction size follows a set curve — small at first, rising over the first thousand steps, then easing down over the next thirty thousand and levelling off This is exactly the shape the Learning Rate chart should trace. Anything else is worth a second look.
Every recording is played back at 30 commands per second This is what lets you read Action chunk as seconds of motion.
Camera frames are resized for you Your cameras do not have to match each other.
No part of your data is held back for scoring The loss you watch says how well the policy fits your recordings, not how well it will do on the robot. The only real test is deploying it.
The trained policy is saved once, at the very last step The consequential one. A run that does not reach its final step leaves nothing behind.

A run that stops early produces nothing

Your policy is written at the last step and only then. If a run is cancelled, hits its runtime cap, or is stopped because your budget ran out, there is no partial result to fall back on — and the time it already used is still billed.

Step 3 — Name it, price it, launch

  1. Type a Job name — up to 120 characters, for example pick-and-place v1. This is what you will see on the dashboard, and it is how you will recognise this run in the list when you deploy it later. It cannot be changed afterwards, so make it say something.
  2. Confirm Steps and Number of cameras. Other training settings are chosen for you.
  3. Choose how your data is read under Dataset access. Download is the default: it copies your data first, then training reads from local disk. Mount reads your data where it already sits, with no copy wait.
  4. Set Maximum runtime (minutes) — anywhere from 1 minute to 360 (six hours). This is a hard stop, and it is what the price is calculated from. Changing it re-prices the run on the spot.
  5. Read the Cost reservation panel. See below.
  6. Press Launch Training. The button reads Launching… for a moment, then the browser opens the run's own page, where you watch it.

Reading the cost reservation

Before you launch, the wizard shows four figures.

Figure What it is
Compute maximum The most the run's time could possibly cost — priced from Maximum runtime, not from your step count.
Checkpoint storage The cost of keeping the trained policy stored for you afterwards.
Safety margin A small cushion on top of the storage figure.
Total reserved The sum, and the amount held against your weekly limit while the run is alive.

The important thing about this panel: it prices the runtime cap you asked for, not the run you expect. Set a six-hour cap on a twenty-minute run and it reserves as though it will run the full six hours. Whatever you do not use is released when the run ends, and your actual bill is metered from real elapsed time — often well under the reservation.

That is also why a cheap run can be blocked. The check is against the amount held aside, not the eventual bill.

The runtime cap is a kill switch, not a target

Set it comfortably above the time you expect to need, but no higher. Every extra minute inflates the amount fenced off from your weekly limit while the run is alive. A full six-hour cap reserves a large share of the default weekly limit, so leaving it at 360 out of habit usually means you can only run one job a week.

If the reservation is larger than what your weekly limit has left, Launch Training is disabled and an amber notice tells you how much is available and how much this run wants. Lower Maximum runtime, or raise your limit on the Billing page. Weekly limits reset on Mondays.

Live prices are on the Billing page, and Account & billing explains how to read them and how a reservation eats into your week.

Watching a run

The run's own page updates itself roughly every ten seconds while the run is pending or running, and stops once it finishes. You do not need to reload it.

The dashboard does not update on its own

Only the individual run page refreshes live. The list of runs on the dashboard loads once — click Refresh to bring it up to date.

What the badge says

Badge What it means What you can do
Pending Accepted, waiting to begin. Cancel it. If it sits here past about ten minutes, see below.
Running Training. The numbers on the page are moving. Cancel it.
Completed Reached its last step and saved the policy. Deploy it — Inference services.
Failed Ended early. A message on the page says why. Read the message, adjust, launch again.
Cancelled You stopped it. Launch again.

The cards

Card What it shows
Total Loss The headline "how wrong is it" number. Lower is better; the trend matters far more than any single value.
MSE Loss How far the motion the policy predicted sits from the motion you recorded.
CE Loss Error on the text-like part of the output.
Learning Rate How big each correction currently is, in exponential notation.
Step Where the run has got to, out of the total you set.
Grad Norm How large a correction this step wanted to make.
ETA Not filled in — the card shows a dash. Judge remaining time from how fast the Step counter climbs.

The Epoch line always reads 1/1 and means nothing here. Read the Step counter instead.

The chart

The Training Metrics panel draws two lines: MSE Loss in blue and Learning Rate in violet. The other cards are numbers only — they are not plotted. Until the first measurement arrives the panel reads Waiting for training metrics…, which is normal for the first minute or two. Hovering anywhere gives you a readout for that step on both lines at once. On very long runs the line is thinned out as it grows, so the full range stays on screen while fine wiggles disappear.

A healthy run looks like this. MSE Loss drops quickly over the first few hundred steps, then keeps drifting down with visible step-to-step jitter — the jitter is normal, the downward trend is the point. Learning Rate traces a shark fin: up over the first thousand steps, then a long smooth decline that flattens near the bottom. Grad Norm stays in roughly the same range from beginning to end.

A run in trouble looks like one of these.

What you see What it usually means What to do
Loss climbs steadily, or jumps to a huge number and stays there Training has come apart Cancel, lower Batch size, launch again.
The loss cards go blank or stop making sense partway through The numbers have blown up Cancel and launch again with a smaller Batch size.
Grad Norm spikes enormously, or collapses to almost nothing Either the same blow-up, or the model has stopped learning anything Cancel. Check that your episodes are not nearly identical to each other, or mostly the robot sitting still.
Loss falls fast and then goes flat for thousands of steps The run may have learned everything this data has to teach Let it finish and deploy it. Add more varied episodes before the next run.
Learning Rate looks flat from the start You are looking at the tail of a long run, where the curve has already levelled off Nothing. Compare against the Step counter.

Because nothing is held back for scoring, a beautiful curve only tells you the policy fits your recordings well. Whether it does the task is something you find out by deploying it and trying it.

If a run sits in Pending

After about ten minutes without starting, a mail button appears next to Cancel. Clicking it opens your own mail app with a message already written, identifying the run and asking for it to be moved up. Nothing is sent until you send it — the console only opens the draft. If the button is greyed out, that route is not switched on for your account; contact support directly instead.

Cancelling a run

The red Cancel button sits on the run's page whenever it is pending or running. Cancelling something that has already finished does nothing at all.

Cancellation is sometimes acknowledged a beat after you ask. The badge reads Cancellation requested while the run winds down, and it is still billed until it has actually stopped.

Cancelling throws the run away

The policy is saved only at the final step, so a cancelled run almost always leaves you with nothing — and you still pay for the time it used. Cancel early when a run is clearly coming apart. Do not cancel a healthy run near the end hoping to keep part of it; there is no part to keep.

The runtime cap behaves the same way. When a run passes Maximum runtime, it is stopped on the spot and marked Failed, with nothing saved. Treat the cap as a spending limit, not as a graceful finish line.

When something goes wrong

What you see What to do
A banner asking you to add a payment method before launching Open Billing and add a card.
A notice that an unpaid invoice is blocking paid work Settle it on Billing, then launch again.
Launch Training disabled, with a note that your weekly budget is short Lower Maximum runtime, or raise your weekly limit on Billing. Limits reset on Mondays.
The dataset you want does not appear in the Step 1 search It has not finished uploading, or it is not marked ready for training yet. Wait, then search again. Only what the search returns can be used.
A message that a dataset is not available here and should be uploaded again Upload it again from Visualize — see Datasets.
The run appears immediately as Failed, saying it could not be started Launch it again. The reservation is released automatically, so a failed start does not cost you anything.
Failed, saying the maximum runtime was exceeded The run ran out of clock before its last step, and nothing was saved. Reduce Steps, or raise the cap (six hours is the ceiling), and launch again.
Failed, saying the budget or reserved runtime ran out Money ran out mid-run and nothing was saved. Raise your weekly limit first, then set a cap that fits inside it.
Failed with a general training failure Most often the configuration was too big to fit. Lower Batch size first; then move Memory mode from Standard to Extended, and only then to Maximum.
Failed, saying the run stopped reporting progress Something went wrong on our side. Launch again, and contact support if it happens twice.
The console says your session expired Sign in again and reopen the run.
A run page that says the run cannot be found Check the link. Runs are private to your account, so someone else's link looks the same as one that does not exist.

The message on the page is all there is — there is no deeper diagnostic to open. When a run fails for a reason the message does not explain, drop Steps and Batch size to the smallest values that still touch your real data and launch again. Finding the problem on a two-minute run costs almost nothing; finding it on a six-hour one costs six hours.

What you have when it finishes

When the badge turns green, one thing exists: your trained policy, saved and held under the name you gave the run. Turning it into something your robot can call is Inference services, and wiring the robot itself up to a running service is Connecting your robot.

  1. Open the console and start a new inference service.
  2. Pick this run under Source training job. Only completed runs are listed, which is why a name you recognise matters.
  3. Start the service and call it.

Read your results from the run page

The cards and the chart on the run page are where the numbers live.

There is no way to export the policy

A trained policy stays with bicameral and is used by deploying it. If you need it serving in more than one place, start more than one inference service from the same finished run. And note that a saved policy keeps costing storage until you delete it — see Account & billing.

A sensible first run

  1. Upload one dataset of your own recordings and confirm it appears in the Step 1 search.
  2. Add it with weight 1 and no episode list.
  3. In Step 2, set Steps to 2,000 and leave everything else alone.
  4. In Step 3, name it smoke-test v1 and set Maximum runtime low enough that the reservation is small.
  5. Launch it, watch the loss chart appear, and let it finish.
  6. Deploy the finished run as an inference service and call it once.
  7. Only then spend real money on a long run with a real mixture and a real step count.

That sequence exercises every part of the path — data, settings, billing, monitoring, deployment — while a mistake anywhere in it still costs you minutes instead of hours.