monailabel.interfaces.exception module

exception monailabel.interfaces.exception.ImageNotFoundException(msg)[source]

Bases: monailabel.interfaces.exception.MONAILabelException

error
msg
exception monailabel.interfaces.exception.LabelNotFoundException(msg)[source]

Bases: monailabel.interfaces.exception.MONAILabelException

error
msg
class monailabel.interfaces.exception.MONAILabelError(value)[source]

Bases: enum.Enum

SERVER_ERROR -            Server Error
UNKNOWN_ERROR -           Unknown Error
CLASS_INIT_ERROR -        Class Initialization Error
MODEL_IMPORT_ERROR -      Model Import Error
INFERENCE_ERROR -         Inference Error
TRANSFORM_ERROR -         Transform Error
INVALID_INPUT -           Invalid Input
APP_INIT_ERROR -          Initialization Error
APP_INFERENCE_FAILED -    Inference Failed
APP_TRAIN_FAILED -        Train Failed
APP_ERROR APP -           General Error
APP_ERROR = 'APP_ERROR'
APP_INFERENCE_FAILED = 'APP_INFERENCE_FAILED'
APP_INIT_ERROR = 'APP_INIT_ERROR'
APP_TRAIN_FAILED = 'APP_TRAIN_FAILED'
CLASS_INIT_ERROR = 'CLASS_INIT_ERROR'
INFERENCE_ERROR = 'INFERENCE_ERROR'
INVALID_INPUT = 'INVALID_INPUT'
MODEL_IMPORT_ERROR = 'MODEL_IMPORT_ERROR'
SERVER_ERROR = 'SERVER_ERROR'
TRANSFORM_ERROR = 'TRANSFORM_ERROR'
UNKNOWN_ERROR = 'UNKNOWN_ERROR'
exception monailabel.interfaces.exception.MONAILabelException(error, msg)[source]

Bases: Exception

MONAI Label Exception

error
msg