deeplake.util.exceptions¶
-
class
deeplake.util.exceptions.ExternalCommandError(command: str, status: int)¶ Bases:
Exception
-
class
deeplake.util.exceptions.KaggleError¶ Bases:
Exception
-
class
deeplake.util.exceptions.KaggleMissingCredentialsError(env_var_name: str)¶
-
class
deeplake.util.exceptions.KaggleDatasetAlreadyDownloadedError(tag: str, path: str)¶
-
class
deeplake.util.exceptions.InvalidPathException(directory)¶ Bases:
Exception
-
class
deeplake.util.exceptions.AutoCompressionError(directory)¶ Bases:
Exception
-
class
deeplake.util.exceptions.InvalidFileExtension(directory)¶ Bases:
Exception
-
class
deeplake.util.exceptions.SamePathException(directory)¶ Bases:
Exception
-
class
deeplake.util.exceptions.TensorInvalidSampleShapeError(shape: Sequence[int], expected_dims: int)¶ Bases:
Exception
-
class
deeplake.util.exceptions.TensorMetaMissingKey(key: str, meta: dict)¶ Bases:
Exception
-
class
deeplake.util.exceptions.TensorDoesNotExistError(tensor_name: str)¶ Bases:
KeyError,AttributeError
-
class
deeplake.util.exceptions.TensorAlreadyExistsError(key: str)¶ Bases:
Exception
-
class
deeplake.util.exceptions.TensorGroupDoesNotExistError(group_name: str)¶ Bases:
KeyError
-
class
deeplake.util.exceptions.TensorGroupAlreadyExistsError(key: str)¶ Bases:
Exception
-
class
deeplake.util.exceptions.InvalidTensorNameError(name: str)¶ Bases:
Exception
-
class
deeplake.util.exceptions.InvalidTensorGroupNameError(name: str)¶ Bases:
Exception
-
class
deeplake.util.exceptions.DynamicTensorNumpyError(key: str, index, property_key: str)¶ Bases:
Exception
-
class
deeplake.util.exceptions.InvalidShapeIntervalError(message: str, lower: Optional[Sequence[int]] = None, upper: Optional[Sequence[int]] = None)¶ Bases:
Exception
-
class
deeplake.util.exceptions.InvalidKeyTypeError(item: Any)¶ Bases:
TypeError
-
class
deeplake.util.exceptions.UnsupportedTensorTypeError(item: Any)¶ Bases:
TypeError
-
class
deeplake.util.exceptions.InvalidBytesRequestedError¶ Bases:
Exception
-
class
deeplake.util.exceptions.ProviderListEmptyError¶ Bases:
Exception
-
class
deeplake.util.exceptions.DirectoryAtPathException¶ Bases:
Exception
-
class
deeplake.util.exceptions.FileAtPathException(path)¶ Bases:
Exception
-
class
deeplake.util.exceptions.ProviderSizeListMismatch¶ Bases:
Exception
-
class
deeplake.util.exceptions.ModuleNotInstalledException(message)¶ Bases:
Exception
-
class
deeplake.util.exceptions.LoginException(message='Error while logging in, invalid auth token. Please try logging in again.')¶ Bases:
Exception
-
class
deeplake.util.exceptions.UserNotLoggedInException¶ Bases:
Exception
-
class
deeplake.util.exceptions.InvalidHubPathException(path)¶ Bases:
Exception
-
class
deeplake.util.exceptions.PathNotEmptyException(use_hub=True)¶ Bases:
Exception
-
class
deeplake.util.exceptions.AuthenticationException(message='Authentication failed. Please try logging in again.')¶ Bases:
Exception
-
class
deeplake.util.exceptions.AuthorizationException(message='You are not authorized to access this resource on Activeloop Server.', response=None)¶ Bases:
Exception
-
class
deeplake.util.exceptions.InvalidPasswordException(message='The password you provided was invalid.')¶
-
class
deeplake.util.exceptions.CouldNotCreateNewDatasetException(path: str)¶
-
class
deeplake.util.exceptions.ResourceNotFoundException(message='The resource you are looking for was not found. Check if the name or id is correct.')¶ Bases:
Exception
-
class
deeplake.util.exceptions.BadRequestException(message)¶ Bases:
Exception
-
class
deeplake.util.exceptions.OverLimitException(message='You are over the allowed limits for this operation.')¶ Bases:
Exception
-
class
deeplake.util.exceptions.ServerException(message='Internal Activeloop server error.')¶ Bases:
Exception
-
class
deeplake.util.exceptions.BadGatewayException(message='Invalid response from Activeloop server.')¶ Bases:
Exception
-
class
deeplake.util.exceptions.GatewayTimeoutException(message='Activeloop server took too long to respond.')¶ Bases:
Exception
-
class
deeplake.util.exceptions.WaitTimeoutException(message='Timeout waiting for server state update.')¶ Bases:
Exception
-
class
deeplake.util.exceptions.LockedException(message='The resource is currently locked.')¶ Bases:
Exception
-
class
deeplake.util.exceptions.UnexpectedStatusCodeException(message)¶ Bases:
Exception
-
class
deeplake.util.exceptions.EmptyTokenException(message='The authentication token is empty.')¶ Bases:
Exception
-
class
deeplake.util.exceptions.S3Error¶ Bases:
ExceptionCatchall for all errors encountered while working with S3
-
class
deeplake.util.exceptions.S3GetError¶ Bases:
deeplake.util.exceptions.S3ErrorCatchall for all errors encountered while working getting an object from S3
-
class
deeplake.util.exceptions.S3SetError¶ Bases:
deeplake.util.exceptions.S3ErrorCatchall for all errors encountered while working setting an object in S3
-
class
deeplake.util.exceptions.S3DeletionError¶ Bases:
deeplake.util.exceptions.S3ErrorCatchall for all errors encountered while working deleting an object in S3
-
class
deeplake.util.exceptions.S3ListError¶ Bases:
deeplake.util.exceptions.S3ErrorCatchall for all errors encountered while retrieving a list of objects present in S3
-
class
deeplake.util.exceptions.UnsupportedCompressionError(compression: Optional[str], htype: Optional[str] = None)¶ Bases:
deeplake.util.exceptions.CompressionError
-
class
deeplake.util.exceptions.SampleCompressionError(sample_shape: Tuple[int, ...], compression_format: Optional[str], message: str)¶ Bases:
deeplake.util.exceptions.CompressionError
-
class
deeplake.util.exceptions.SampleDecompressionError(path: Optional[str] = None)¶ Bases:
deeplake.util.exceptions.CompressionError
-
class
deeplake.util.exceptions.InvalidImageDimensions(actual_dims, expected_dims)¶ Bases:
Exception
-
class
deeplake.util.exceptions.TensorUnsupportedSampleType¶ Bases:
Exception
-
class
deeplake.util.exceptions.MetaError¶ Bases:
Exception
-
class
deeplake.util.exceptions.MetaDoesNotExistError(key: str)¶
-
class
deeplake.util.exceptions.MetaAlreadyExistsError(key: str, required_meta: dict)¶
-
class
deeplake.util.exceptions.MetaInvalidKey(name: str, available_keys: List[str])¶
-
class
deeplake.util.exceptions.MetaInvalidRequiredMetaKey(key: str, subclass_name: str)¶
-
class
deeplake.util.exceptions.TensorMetaInvalidHtype(htype: str, available_htypes: Sequence[str])¶
-
class
deeplake.util.exceptions.TensorMetaInvalidHtypeOverwriteValue(key: str, value: Any, explanation: str = '')¶
-
class
deeplake.util.exceptions.TensorMetaMissingRequiredValue(htype: str, key: Union[str, List[str]])¶
-
class
deeplake.util.exceptions.TensorMetaInvalidHtypeOverwriteKey(htype: str, key: str, available_keys: Sequence[str])¶
-
class
deeplake.util.exceptions.TensorDtypeMismatchError(expected: Union[numpy.dtype, str], actual: str, htype: str)¶
-
class
deeplake.util.exceptions.InvalidTensorLinkError(msg='Invalid tensor link.')¶
-
class
deeplake.util.exceptions.TensorMetaMutuallyExclusiveKeysError(keys: Optional[List[str]] = None, custom_message: Optional[str] = None)¶
-
class
deeplake.util.exceptions.ReadOnlyModeError(custom_message: Optional[str] = None)¶ Bases:
Exception
-
class
deeplake.util.exceptions.TransformError(index=None, sample=None, samples_processed=0)¶ Bases:
Exception
-
class
deeplake.util.exceptions.FilterError¶ Bases:
Exception
-
class
deeplake.util.exceptions.InvalidInputDataError(operation)¶
-
class
deeplake.util.exceptions.UnsupportedSchedulerError(scheduler)¶
-
class
deeplake.util.exceptions.TensorMismatchError(tensors, output_keys, skip_ok=False)¶
-
class
deeplake.util.exceptions.InvalidOutputDatasetError(message='The output Dataset to transform should not be `read_only`.')¶
-
class
deeplake.util.exceptions.InvalidTransformDataset(message='The TransformDataset (2nd argument to transform function) of one of the functions is invalid. All the tensors should have equal length for it to be valid.')¶
-
class
deeplake.util.exceptions.HubComposeEmptyListError(message='Cannot deeplake.compose an empty list.')¶
-
class
deeplake.util.exceptions.HubComposeIncompatibleFunction(index: int)¶
-
class
deeplake.util.exceptions.DatasetUnsupportedPytorch(reason)¶ Bases:
Exception
-
class
deeplake.util.exceptions.CorruptedMetaError¶ Bases:
Exception
-
class
deeplake.util.exceptions.ChunkEngineError¶ Bases:
Exception
-
class
deeplake.util.exceptions.FullChunkError¶
-
class
deeplake.util.exceptions.ChunkIdEncoderError¶
-
class
deeplake.util.exceptions.ChunkSizeTooSmallError(message='If the size of the last chunk is given, it must be smaller than the requested chunk size.')¶
-
class
deeplake.util.exceptions.DatasetHandlerError(message)¶ Bases:
Exception
-
class
deeplake.util.exceptions.MemoryDatasetCanNotBePickledError¶ Bases:
Exception
-
class
deeplake.util.exceptions.CorruptedSampleError(compression, path: Optional[str] = None)¶ Bases:
Exception
-
class
deeplake.util.exceptions.VersionControlError¶ Bases:
Exception
-
class
deeplake.util.exceptions.MergeError¶ Bases:
Exception
-
class
deeplake.util.exceptions.MergeNotSupportedError¶
-
class
deeplake.util.exceptions.MergeMismatchError(tensor_name, mismatch_type, original_value, target_value)¶
-
class
deeplake.util.exceptions.MergeConflictError(conflict_tensors=None, message='')¶
-
class
deeplake.util.exceptions.CheckoutError¶
-
class
deeplake.util.exceptions.CommitError¶
-
class
deeplake.util.exceptions.EmptyCommitError¶
-
class
deeplake.util.exceptions.TensorModifiedError¶ Bases:
Exception
-
class
deeplake.util.exceptions.GCSDefaultCredsNotFoundError¶ Bases:
Exception
-
class
deeplake.util.exceptions.InvalidOperationError(method: str, type: str)¶ Bases:
Exception
-
class
deeplake.util.exceptions.AgreementError¶ Bases:
Exception
-
class
deeplake.util.exceptions.AgreementNotAcceptedError(agreements=None)¶
-
class
deeplake.util.exceptions.NotLoggedInError(msg=None)¶
-
class
deeplake.util.exceptions.RenameError(msg='Only name of the dataset can be different in new path.')¶ Bases:
Exception
-
class
deeplake.util.exceptions.BufferError¶ Bases:
Exception
-
class
deeplake.util.exceptions.InfoError¶ Bases:
Exception
-
class
deeplake.util.exceptions.OutOfChunkCountError¶ Bases:
Exception
-
class
deeplake.util.exceptions.OutOfSampleCountError¶ Bases:
Exception
-
class
deeplake.util.exceptions.SampleHtypeMismatchError(htype, sample_type)¶ Bases:
Exception
-
class
deeplake.util.exceptions.EmptyTensorError(message)¶ Bases:
Exception
-
class
deeplake.util.exceptions.DatasetViewSavingError¶ Bases:
Exception
-
class
deeplake.util.exceptions.ManagedCredentialsNotFoundError(org_id, creds_key)¶ Bases:
Exception
-
class
deeplake.util.exceptions.UnableToReadFromUrlError(url, status_code)¶ Bases:
Exception
-
class
deeplake.util.exceptions.InvalidTokenException¶ Bases:
Exception
-
class
deeplake.util.exceptions.TokenPermissionError¶ Bases:
Exception