dacapo.experiments.tasks.one_hot_task

Classes

OneHotTask

A task that uses a one-hot predictor. The model is loaded from a file

Module Contents

class dacapo.experiments.tasks.one_hot_task.OneHotTask(task_config)

A task that uses a one-hot predictor. The model is loaded from a file and the weights are loaded from a file. The loss is a dummy loss and the post processor is an argmax post processor. The evaluator is a dummy evaluator.

weights

The path to the weights file.

Type:

Path

create_model(self, architecture) Model

This method creates a model using the given architecture.

Notes

This is a base class for all tasks that use one-hot predictors.

predictor
loss
post_processor
evaluator