dacapo.experiments.tasks.pretrained_task_config

Classes

PretrainedTaskConfig

Configuration for a task that uses a pretrained model. The model is loaded from a file

Module Contents

class dacapo.experiments.tasks.pretrained_task_config.PretrainedTaskConfig

Configuration for a task that uses a pretrained model. The model is loaded from a file and the weights are loaded from a file.

sub_task_config

The task to run starting with the provided pretrained weights.

Type:

TaskConfig

weights

A checkpoint containing pretrained model weights.

Type:

Path

verify(self) Tuple[bool, str]

This method verifies the PretrainedTaskConfig object.

Notes

This is a subclass of TaskConfig.

task_type
sub_task_config: dacapo.experiments.tasks.task_config.TaskConfig
weights: upath.UPath