keras-team/keras

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

Code / MessageTypeSeverityTags
If using `weights="imagenet"` as true, `classes` should be…
exception error keras, cropping, validation
already exist in the LayoutMap with value . Please make…
exception error
The following attributes cannot be saved to HDF5 file…
exception error keras, saving, hdf5, attribute-limit
When setting values directly, `mean` and `variance` must…
validation error keras, normalization, shape-validation
Expected the input image to be rank 3 or 4. Received…
validation error keras, color-degeneration, tensor-rank, image-preprocessing
Invalid value received for argument `noise_shape`. Expected…
validation error
A KerasTensor is symbolic: it's a placeholder for a shape…
exception error
Both `num_bins` and `bin_boundaries` should not be set…
validation error
`broadcast_to` is supported only for tuple and list…
exception error
Cannot concatenate features because feature
validation error keras, feature-space, concat, encoding
Expected `padding` to be a tuple of 2 integers. Received…
exception error keras, padding, legacy, argument-validation, time-series
Input with name ' ' of layer ' ' is incompatible with the…
validation error
`output_mode` must be `'int'` when `invert` is true…
validation error keras, preprocessing, index-lookup, argument-validation
Cannot convert ' ' to a shape. Found invalid dimension ' '…
validation error
Cannot merge tensors with different batch sizes. Received…
validation error keras, merge, batch-size, shape-mismatch
Could not extract num value from tensor
exception error
DenseNet does not support the `channels_first` image data…
exception error keras, image-ops, padding, shape-mismatch
Expected rebatched data to have batch size 1. Received…
validation error keras, feature-space, batch-size, shape
Please initialize `TimeDistributed` layer with a…
exception error keras, time-distributed, type-validation, constructor
There is no implicit conversions from float8 dtypes to…
exception error
When `output_mode="int"`, `dtype` should be an integer…
validation error keras, hashing, dtype, output-mode
A Sequential model configuration must be a dictionary…
exception error keras, sequential, from-config, serialization
ConvNeXt does not support the `channels_first` image data…
exception error keras, image-ops, argument-validation, internal-api
Input `x` should be a tuple of two tensors - real and…
exception error keras, fft, input-validation, shape
Invalid keys: " ". Valid variable key options are
validation error keras, metrics, confusion-matrix, dict-keys, internal-api
LU decomposition failed
validation error keras, linalg, lu, tensorflow, backend-specific
output_mode `'tf_idf'` does not support loading a…
validation error keras, preprocessing, index-lookup, tf-idf, unsupported-operation
Axis must be specified when shapes of a and weights differ.
exception error
Cannot adapt layer ' ' after setting a static vocabulary…
validation error keras, adapt, vocabulary, state-error
Cannot serialize because it doesn't implement…
exception error
Data not JSON Serializable
exception error keras, serialization, json, timeseries
Feature ' ' has `output_mode='one_hot'`. Thus its…
validation error keras, feature-space, one-hot, dtype
Invalid color mode: ; expected "rgb", "rgba", or…
validation error keras, image-data-generator, color-mode, invalid-argument
Invalid data_format
validation error keras, upsampling3d, data-format, argument-validation
Invalid value received for argument `stddev`. Expected a…
validation error
Targets `y_true` are expected to be a tensor of shape…
exception error
Unable to serialize to JSON. Unrecognized type .
exception error keras, serialization, json, custom-layers
Invalid input type for serialization. Received
exception error
Unknown type of input data
validation error
`call_function` argument is not supported with Sequential…
validation error keras, models, clone-model, sequential, functional
For 1D input, `output_size` tuple must have length 1…
exception error
Invalid value received for argument `noise_shape`. Expected…
validation error
is not a valid dtype for Keras type promotion.
exception error
Duplicate axes are not allowed. Received: axis=
exception error
q must be in the interval (0, 1)
exception error
`sparse` may only be true if `output_mode` is `"one_hot"`…
validation error keras, preprocessing, hashing, sparse, invalid-argument
`strides > 1` not supported in conjunction with…
exception error keras, convolution, transposed-conv, invalid-arguments
The number of repeats in `EfficientNet` must be > 0…
exception error keras, cropping, validation
When setting values directly, both `mean` and `variance`…
validation error keras, normalization, argument-validation
Argument `num_segments` must be set when using the JAX…
exception error
`axis` must be of type `int`. Received: axis=
exception error
cycle detected in type promotion lattice for node
exception error
If using `weights="imagenet"` with `include_top=True`…
exception error
lora is already enabled. This can only be done once per…
exception error keras, lora, idempotency, duplicate-call
`sparse=True` is not supported with the
exception error
The `factor` argument should be a number (or a list of two…
validation error keras, preprocessing, augmentation, validation
-dimensional array given. Array must be one or…
exception error
If imagenet weights are being loaded, alpha can be one…
exception error
In layer ' ', you forgot to call `super().__init__()` as…
exception critical keras, custom-layers, init, subclassing
Input size must be at least 32x32; Received `input_shape=
exception error
`patches` last dim ( ) is not divisible by prod(size) ( ).
exception error
`power_iterations` should be greater than zero. Received…
exception error
Unsupported arguments for LiteRT export with the PyTorch…
validation error
When providing the `input_tensor` argument, you cannot…
exception error
Could not interpret metric identifier
exception error
Invalid reference variable in StatelessScope: all keys in…
exception error
`label_weights` for multilabel data should be handled…
validation error keras, metrics, confusion-matrix, multilabel, internal-api
adaptive_max_pool supports only 1D/2D/3D inputs
validation error
inconsistent size for core dimension
exception error
Repeated axis in `axis
validation error
Arguments `clone_function` and `input_tensors` are only…
validation error keras, models, clone-model, subclassed-model, unsupported-argument
input_t is expected to be tensor, but got
exception error
Unrecognized keyword arguments passed to
validation error
`add_endpoint` is not implemented in the numpy backend.
exception error
For layer ' ', received ` ()` argument ` `, but `call()`…
validation error keras, shape-inference, signature-mismatch
Expected `bounding_boxes` agurment to be a dict with keys…
validation error keras, bounding-boxes, validation, missing-key
Expected the input image to be rank 3 or 4. Received…
validation error
Inputs have incompatible shapes. Received shapes
validation error keras, merge, shape-mismatch, broadcasting
Layer TextVectorization requires TensorFlow. Install it via…
exception error
Sequential model ' ' has already been configured to use…
exception error keras, sequential, input-shape, build
Expected `model` argument to be a `Sequential` model…
validation error keras, models, clone-model, sequential, internal-api, type-check
` ` currently supports only non-overlapping reconstruction…
exception error
For `padding='same'`, `output_size` height
exception error
Invalid images rank: expected rank 3 (single image) or rank…
exception error keras, image, rank-validation, shape-mismatch
Invalid value for argument `aggregation`. Expected one of…
exception error
Unrecognized keyword arguments
exception error keras, text, tokenizer, validation
Backend ' ' must implement a layer mixin class.
exception error
If imagenet weights are being loaded, alpha must be one of…
exception error
Invalid padding ' ', must be 'same' or 'valid'.
validation error
Invalid value received for argument `noise_shape`. Expected…
validation error
`value` must be an integer, tuple or list. Received: value=
exception error
`attention_axes` must be an int, list, or tuple.Received…
exception error
Cannot enable lora on a layer that isn't yet built.
exception error keras, lora, einsum-dense, layer-build, peft
`HashedCrossing` should be called on a list or tuple of…
validation error keras, hashed-crossing, input-type
lora is not currently supported with GPTQ quantization.
exception error keras, lora, gptq, quantization, einsum-dense
Tensor from operation ' ' is part of a cycle.
exception error keras, graph, cycle, recurrent
The `padding` argument must be one of 'valid', 'same'…
exception error
Unknown variable name
exception error
A symbolic KerasTensor cannot be used as a boolean.
exception error
All `HashedCrossing` inputs should be dense tensors…
validation error keras, hashed-crossing, sparse-tensor, ragged