otx.api.usecases.tasks.exceptions#

This module contains the exceptions for the tasks.

Exceptions

OOMException([message])

Exception for when task is out of memory.

TrainingStallException([message])

Exception for when training should be stalled.

UnrecoverableTaskException([message])

Exception for when task is in an unrecoverable state.

exception otx.api.usecases.tasks.exceptions.OOMException(message='Out of memory exception')[source]#

Bases: UnrecoverableTaskException

Exception for when task is out of memory.

exception otx.api.usecases.tasks.exceptions.TrainingStallException(message='Training stalling exception')[source]#

Bases: UnrecoverableTaskException

Exception for when training should be stalled.

exception otx.api.usecases.tasks.exceptions.UnrecoverableTaskException(message='Unrecoverable task exception')[source]#

Bases: Exception

Exception for when task is in an unrecoverable state.