dacapo.experiments.tasks.one_hot_task ===================================== .. py:module:: dacapo.experiments.tasks.one_hot_task Classes ------- .. autoapisummary:: dacapo.experiments.tasks.one_hot_task.OneHotTask Module Contents --------------- .. py:class:: 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. .. attribute:: weights The path to the weights file. :type: Path .. method:: create_model(self, architecture) -> Model This method creates a model using the given architecture. .. rubric:: Notes This is a base class for all tasks that use one-hot predictors. .. py:attribute:: predictor .. py:attribute:: loss .. py:attribute:: post_processor .. py:attribute:: evaluator