Skip to content

Model

class Model

Importable as dream.models.Model.

One checkpoint your account may run; pass its id to DreamClient.policy() as checkpoint.

Attributes

Read-only: the record is frozen.

  • id (str): The checkpoint id, what a run names as checkpoint: dreamlabs/dream-1-beta for a public model, dream-1-ft:<uid8>-<suffix> for a fine-tune (a fine-tuning job’s fine_tuned_model).
  • owner (str): public for a checkpoint every account may run, mine for one of your fine-tunes.
  • base_model (str): The model it was trained from; the same as id for a base model.
  • embodiment (str | None): For a fine-tune, the id of the embodiment it was trained on (emb_...; one of DreamClient.get_embodiments() only when your account holds that body); for a public model, the body it drives (yam); None while the model is not available to run yet.
  • servable (bool): Whether the model can be started for get_action(); False while it is not available to run yet. A servable model may still be stopped, so its first call is refused pool_warming while it starts.
  • created_at (datetime.datetime | None): When your fine-tune was registered, UTC; None for a Dream Labs model, whose date the platform does not list.
  • cameras (list[str] | None): The camera roles the model reads, each sent as video.<role>: overhead, wrist_l and wrist_r for a model trained on YAM arms, the roles of the embodiment a fine-tune was trained on; None when the platform does not know them. With ik the client sends the body’s cameras in these roles (dream.client_ik).
  • embodiment_config (dict[str, Any] | None): For a fine-tune of a custom body, the embodiment config it was trained on (what DreamClient.policy() checks calls against); None for a builtin body.
  • parts_withheld (bool): True when that body was registered with parts (what each part of its state and action is) that embodiment_config leaves out: they are listed only to the account that registered the body, so DreamClient.policy() needs the body’s config as config['embodiment'] to run the model.

Returned by