python FILENAME.py.
1
Install and sign in
Install Servo and sign in:On a headless computer, follow the printed sign-in link and code.
CLI and Python share your saved sign-in; telemetry is configured automatically.
your computer
2
Inspect the model inputs
Read the checkpoint contract before allocating capacity or creating arrays:Use the exact input keys, shapes and dtypes shown above.
- CLI
- Python
Inspect the checkpoint:Sample output:
your computer
Sample output
HWC means height, width, channels; None means no image layout.
Continue only when the contract is resolved.
The checkpoint documentation defines camera placement, state units and action meanings.3
Import and deploy
- CLI
- Python
Import, then deploy using the returned model ID:Run the returned Save the printed deployment ID; this command waits for readiness.
your computer
MODEL_ID= assignment in your shell, then deploy:your computer
4
Provide model inputs and predict
Create sample arrays matching the inspected contract and make one prediction:Save the code above, or download and run it:Enter your saved deployment ID when prompted.Expect
first_prediction.py
your computer
15 × 7 action values. Random images and a zero state check connectivity; they are not useful robot observations. The model rejects a state outside the range its checkpoint declares, so use a real reading, not random state values.
Servo handles model preprocessing. Servo does not apply them to hardware; your application owns sensor capture, action interpretation and hardware limits.5
Inspect or stop the deployment
- CLI
- Python
Inspect the deployment, then stop it:
your computer
DEPLOYMENT_ID= assignment in your shell first. CLI logs prints authenticated dashboard links.
delete() and stop request teardown; confirm retired through wait_retired() or repeated show.
Closing Python or a session leaves the deployment running and capacity allocated.