trained_model module¶
-
class
trained_model.TrainedModel(client, uuid)¶ Bases:
object-
static
add(client, config, checkpoint, stamp=None)¶ Add a new trained model
- Args:
config: trained model config checkpoint: compatible §model training checkpoint
- Returns:
new TrainedModel
-
property
config¶ Trained model config
-
delete(force=False)¶ Args: force (bool): force deletion of dependent resources (default False)
-
download()¶ Download this trained model as a tar.gz archive
- Returns:
BytesIO: tar.gz archive as bytes
-
property
info¶ Trained model info
-
static