keras-team/keras

Documented errors, page 3 of 9. Back to keras-team/keras

Code / MessageTypeSeverityTags
To export to LiteRT with the PyTorch backend, you must…
exception error
top_padding must be >= 0. Received: top_padding=
exception error keras, image, padding, negative-dimension, input-validation
Illegal None dimension in
validation error
Input spatial dimensions must be statically known for…
exception error
Please provide at least one valid confusion matrix variable…
validation error keras, metrics, confusion-matrix, dict-keys, internal-api
Saved configuration not understood. Configuration should be…
exception error
Sharding along sequence dimension not allowed in TPU kernel…
validation error
The PyTorch export requires the filepath to end with…
exception error keras, pytorch, export, file-extension, validation
Unable to serialize to JSON, because the TypeSpec class has…
exception error keras, serialization, json, tensorflow, typespec
All features referenced in the `crosses` argument should be…
validation error
Cannot set a tensor vocabulary on layer
exception error keras, preprocessing, index-lookup, eager-execution, tf-function
`cropping` should be either an int, a tuple of 3 ints…
validation error
Invalid value for argument `output_mode`. Expected one of
validation error keras, preprocessing, hashing, invalid-argument
We could not automatically infer the shape of the Lambda's…
exception error
Argument `layout_map` must be a `LayoutMap` instance…
exception error
Expected `model` argument to be a Functional Model…
validation error
A merge layer should be called on a list of inputs…
validation error keras, merge, input-format, api-misuse
All dimensions of `value` and `key`, except the last one…
exception error keras, attention, shape-mismatch, validation, grouped-query-attention
Invalid dtype
validation error
`output_sequence_length` must not be set if `output_mode`…
validation error
`padding` should be either an int, a tuple of 3 ints…
validation error
The number of dimensions in `inputs` must match the number…
exception error keras, ops, slice, shape
`cropping` parameter of `Cropping1D` layer must be smaller…
validation error
Incompatible shapes between `a` and `b`. Expected…
validation error keras, linalg, linear-solve, shape-validation, solver
input_shape[1] must equal input_tensor.shape[2]. Received…
exception error
Invalid `output_padding` argument. Each value in…
exception error keras, transposed-conv, output-padding, shape-mismatch
not a valid gufunc signature
exception error
Unrecognized value for `merge_mode`. Received
validation error
adapt() yielded a batch with incompatible shape. Expected
validation error
Input array must have at least 2 dimensions. Received…
exception error
When using relative bounding box formats (e.g. `rel_yxyx`)…
validation error keras, bounding-boxes, iou, relative-coordinates, missing-argument
`factor` argument must have values larger than -1…
validation error keras, data-augmentation, argument-validation, legacy, random-height
`adapt()` can only be called on a tf.data.Dataset or a dict…
validation error keras, preprocessing, feature-space, input-type
If imagenet weights are being loaded, alpha can be one of…
exception error
Input dtypes have no available implicit dtype promotion…
exception error
`label_mode` must be one of `"fine"`, `"coarse"`. Received…
validation error
R2Score expects 2D inputs with shape (batch_size…
validation error keras, metrics, r2-score, dynamic-shape, shape-mismatch
Unknown layer
validation error
When using `output_mode=
exception error keras, preprocessing, vocabulary, runtime-error
The input must have 3 channels; Received `input_shape=
exception error
The `weights` argument should be either `None` (random…
exception error
Got no `xs` to scan over and `length` not provided.
exception error
Invalid Functional model configuration. Missing node
validation error
Invalid tensor type
exception error keras, einsum-dense, quantization, internal-api
weights_path undefined
exception error keras, rank-validation, cropping
Invalid einsum equation
exception error keras, einsum-dense, einsum-equation, validation
left_padding must be >= 0. Received: left_padding=
exception error
Model name " " does not match weights variant " ". When…
exception error keras, image-ops, shape-mismatch, patch-embedding
Received `None` value for `axis`
validation error
`sparse=True` cannot be used with backend
validation error
The `salt` argument for `Hashing` can only be a tuple of…
validation error keras, preprocessing, hashing, salt, invalid-argument
Unrecognized format=
exception error
You cannot pass both `shape` and `batch_shape` at the same…
exception error
Cannot deserialize the model (invalid config data?)
validation error
Model does not have a `call()` method implemented.
exception error
Received: =
validation error keras, preprocessing, validation, augmentation
`sparse` may only be true if `output_mode` is `'one_hot'`…
validation error keras, preprocessing, index-lookup, argument-validation, sparse
All `inputs` values must be KerasTensors. Received: inputs=
validation error
Cannot set an empty vocabulary. Received: vocabulary=
validation error keras, preprocessing, index-lookup, vocabulary, empty-input
Cholesky decomposition failed. The input might not be a…
exception error
Expected b to have rank 1 or 2. Received: b.shape=
validation error
Iterating over a symbolic KerasTensor is not supported.
exception error
Layer StringLookup requires TensorFlow. Install it via `pip…
exception error
Cannot do batch_dot on inputs with rank < 2. Received…
exception error keras, batch-dot, tensor-rank, legacy-backend
For , a valid quantization structure must be provided…
exception error
Unknown : ' '. Please ensure you are using a…
exception error
mask_t is expected to be tensor, but got
exception error
`model_from_config` expects a dictionary, not a list…
exception error
`variance` must be length 4, got
validation error keras, bounding-boxes, encoding, variance
_backend_add_endpoint() must be implemented in backend…
exception error
Inputs to a layer should be tensors. Got
validation error
Invalid axis' indices
exception error keras, preprocessing, image, validation, negative-index
No such layer: . Existing layers are: .
exception error
`output_size` must be an integer or tuple of 1 integer…
exception error
The `value_range` argument should be a list of two numbers…
validation error
`convert_to_numpy` failed to convert the tensor.
exception error
Could not interpret loss identifier
exception error
In `axis`, axis is out of bounds for array of dimension
validation error
Unknown activation function
exception error keras, argument-validation, typeerror, image-ops
Input shape and output shape do not match at shared…
exception error keras, einsum-dense, shape-mismatch, split-equation
`input_shape` must be a tuple of three integers.
exception error
Arguments `target` and `output` must have the same shape…
validation error
Cannot perform batch_dot over axis 0. If your inputs are…
exception error keras, tensorflow, batch-dot, shape-mismatch
Channels are allowed and the first and last dimensions.
exception error keras, preprocessing, image, axis-order
Expected a square matrix. Received non-square input with…
validation error keras, linalg, square-matrix, shape-validation, eigendecomposition
Expected input to have rank >= 1. Received scalar input
validation error
Unexpected bias dimensions
exception error keras, tensorflow, bias-add, rank-mismatch
When class_id is provided, y_pred must be a 2D array with…
validation error keras, metrics, shape-mismatch, class-id, rank
Argument `output` must be at least rank 1. Received…
validation error
Axis is out of bounds for input shape .
exception error
Cannot quantize a layer that isn't yet built. Layer
validation error keras, quantization, build
output shape does not match core dimensions
exception error
Shapes used to initialize variables must be fully-defined…
validation error
The ` ` argument should be a number (or a list of two…
validation error keras, preprocessing, argument-validation, factor-range
-dimensional array given. Array must be two-dimensional
exception error
Feature ' ' has `output_mode='one_hot'`. However it isn't a…
validation error keras, feature-space, one-hot, cardinality
Unrolling requires a fixed number of timesteps.
exception error
Argument `name` must be a string and cannot contain…
exception error
Expected the two input tensors to have identical shapes…
validation error keras, hashed-crossing, shape
`idf_weights` must be set if output_mode is 'tf_idf'.
validation error keras, preprocessing, index-lookup, tf-idf, missing-argument