logitorch.models.exceptions

Exceptions

LossError

An error is raised when the loss is wrong

TaskError

An error is raised when the task is wrong

Module Contents

exception logitorch.models.exceptions.LossError(losses: List[str])[source]

Bases: Exception

An error is raised when the loss is wrong

Initialize self. See help(type(self)) for accurate signature.

message = Multiline-String[source]
Show Value
"""LossError: Loss not suppported. Losses that the model can use are Uninferable
"""
exception logitorch.models.exceptions.TaskError(tasks: List[str])[source]

Bases: Exception

An error is raised when the task is wrong

Initialize self. See help(type(self)) for accurate signature.

message = Multiline-String[source]
Show Value
"""TaskError: Task is not found. Tasks that the model can are Uninferable
"""