DreamProtocolError
class DreamProtocolError(DreamError, RuntimeError)
Importable as dream.DreamProtocolError.
No answer the client could read: the host could not be reached, or what answered is not the Dream API.
Raised by get_action() and by the embodiment, dataset, fine-tuning and model calls alike, when the connection fails or the answer is not JSON or not the shape the Dream API answers. Check the network, then make the same call again.
Raised by
dream.datasets.add_embodiment()dream.datasets.list_embodiments()dream.datasets.upload_dataset()dream.datasets.get_dataset()dream.datasets.list_datasets()dream.datasets.retry_dataset()dream.datasets.delete_dataset()dream.fine_tuning.create()dream.fine_tuning.check_eef()dream.fine_tuning.list()dream.fine_tuning.get()dream.fine_tuning.cancel()dream.fine_tuning.queue()dream.fine_tuning.training_data()dream.models.list_models()DreamClient.add_embodiment()DreamClient.get_embodiments()DreamClient.get_models()DreamClient.upload_dataset()DreamClient.get_dataset_status()DreamClient.get_datasets()DreamClient.retry_dataset()DreamClient.delete_dataset()DreamClient.finetune()DreamClient.get_finetuning_status()DreamClient.policy()DreamClient.get_action()