logitorch.datasets.exceptions

Exceptions

AbductionClosedWorldAssumptionError

An error is raised when the abduction task is chosen in a closed-world assumption setting

DatasetNameError

An error is raised when the dataset name is wrong

FileSizeError

An error is raised when the downloaded dataset has a wrong size

SplitSetError

An error is raised when the split set is wrong

TaskError

An error is raised when the task is wrong

Module Contents

exception logitorch.datasets.exceptions.AbductionClosedWorldAssumptionError[source]

Bases: Exception

An error is raised when the abduction task is chosen in a closed-world assumption setting

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

message = 'AbductionClosedWolrdAssumptionError: Abduction task exists only in open-world assumption (OWA) setting'[source]
exception logitorch.datasets.exceptions.DatasetNameError[source]

Bases: Exception

An error is raised when the dataset name is wrong

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

message = 'DatasetNameError: Dataset name is wrong'[source]
exception logitorch.datasets.exceptions.FileSizeError[source]

Bases: Exception

An error is raised when the downloaded dataset has a wrong size

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

message = 'FileSizeError: Wrong file size'[source]
exception logitorch.datasets.exceptions.SplitSetError(split_sets: List[str])[source]

Bases: Exception

An error is raised when the split set is wrong

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

message = Multiline-String[source]
Show Value
"""SplitSetError: Dataset name is wrong
The split sets are: Uninferable"""
exception logitorch.datasets.exceptions.TaskError[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
"""