keras-team/keras

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

Code / MessageTypeSeverityTags
Invalid value for argument `order`. Expected one of
validation error
Received an invalid value for `threshold`, expected a…
exception error
`rot90` does not support tensors with dynamic rank for the…
exception error
Expected input `x` to have rank 2. Received: rank(x)=
exception error
Found bounding_boxes['boxes'].shape=
validation error keras, bounding-boxes, tensor-rank, batching
Inputs to `cdist` must have rank >= 2. Received shapes…
validation error keras, cdist, pairwise-distance, shape-validation, rank-error
Invalid value for argument `num_regressors`. Expected a…
validation error keras, metrics, r2-score, argument-out-of-range, regression
Invalid value for attribute `constraint`. Expected a…
validation error
The channel dimension of the inputs (last axis) should be…
exception error
When providing the `input_tensor` argument, you cannot…
exception error
All `HashedCrossing` inputs should have an integer or…
validation error keras, hashed-crossing, dtype
Expected `clone_function` argument to be a callable…
validation error keras, models, clone-model, callable-check, type-check
FBetaScore expects 2D inputs with shape (batch_size…
exception error keras, metrics, fbeta, shape-validation
`padding` should have 3 elements. Received
validation error
`cond` function must return a scalar boolean value, but got…
exception error
Invalid format for argument `axes`: it should contain two…
validation error
`searchsorted` only supports 1-D sorted sequences. You can…
exception error
Weight count mismatch for top-level weights when loading…
exception error
You tried to call `count_params` on layer
validation error keras, build, parameter-count
A merge layer should be called on a list of at least 1…
validation error keras, merge, empty-input
adaptive_max_pool supports only 1D/2D/3D
exception error
bottom_cropping must be >= 0. Received: bottom_cropping=
exception error
`pool_size` must be a tuple of 2 integers.
exception error
Quantization mode=' ' doesn't work well with…
validation error keras, quantization, dtype, float16
`slice` is not supported by OpenVINO backend for…
exception error
Specifying `strides > 1` is not compatible with…
validation error
To use NNX with the JAX backend, you must install `flax`.
exception error
Cannot do batch_dot on inputs with different batch sizes…
validation error
Expected `size` to be a tuple of 2 integers. Received: size=
exception error keras, image, resize, argument-validation
If `max_tokens` is set for `IntegerLookup`, it must be…
validation error keras, argument-validation, integer-lookup
Input should have rank >= 2. Received: input.shape =
validation error
Input `x` should be a tuple of two tensors - real and…
exception error
Invalid images rank: expected rank 4 (batch of images)…
validation error keras, image, sobel, shape-validation
median only supports single axis reduction
exception error
Number of groups ( ) cannot be more than the number of…
exception error
order must be non-negative but got
exception error
Received an invalid value for argument `value_dim`…
exception error
`shape` argument cannot contain `None`. Received: shape=
exception error
The last dimension of inputs to `cdist` must match…
validation error keras, cdist, pairwise-distance, shape-validation, feature-dim
The `scale` argument should be a number in the range [0,1]…
validation error
Invalid `beta` argument value. It should be a Python float…
exception error keras, metrics, fbeta, type-validation
Invalid images rank: expected rank 3 (single image) or rank…
validation error keras, color-degeneration, compute-output-shape, tensor-rank
Invalid `threshold` argument value. It should verify 0 <…
exception error keras, metrics, fbeta, threshold, range-validation
`Sequential.layers` attribute is reserved and should not be…
exception error keras, sequential, attribute, layers
The number of input channels must match the kernel's input…
exception error
A `Dot` layer should be called on exactly 2 inputs…
validation error
Dropout is not supported when flash attention is enabled…
exception error
Invalid `curve` argument value
exception error keras, metrics, auc, enum-validation
Invalid `output_size` argument. Expected a tuple or list…
exception error
Invalid pooling mode
exception error
Layer HashedCrossing requires TensorFlow. Install it via…
exception error keras, hashed-crossing, tensorflow, import-error
The `weights` argument should be either `None` (random…
exception error
`true_fn` and `false_fn` should return outputs of the same…
exception error keras, ops, cond, shape-mismatch
Unknown `floatx` value
validation error
x2 must be provided if x1 is specified.
exception error
A KerasTensor is symbolic: it's a placeholder for a shape…
exception error
Argument `precision` must be in the range [0, 1]. Received…
exception error keras, metrics, precision, range-validation
Data and targets have to be of same length. Data length is
exception error keras, timeseries, preprocessing, validation
For `padding='same'`, `output_size` depth
exception error keras, image, patches, shape-mismatch, input-validation
`inputs` should be a list. Received: inputs=
validation error keras, concatenate, masking, input-format
Invalid `size` argument. Expected a tuple of length 2 or 3…
exception error
`patches` has unexpected rank for
exception error
The `weights` argument should be either `None` (random…
exception error
There are unsupported keys in `bounding_boxes
validation error keras, bounding-boxes, dict-keys, preprocessing
You are attempting to initialize a variable while in a…
validation error
`zoom_range` should be a float or a tuple or list of two…
exception error keras, data-augmentation, argument-validation
`bins` must be 1-D array-like
exception error
diag supports only 1D or 2D tensors
exception error
Function was called with an invalid input structure…
exception error keras, ops, function, pytree
No model config found in the file at
exception error keras, loading, hdf5, model-config
`outputs` argument cannot be empty. Received: inputs=
exception error keras, ops, function, outputs
`patches` has unexpected rank for 3D reconstruction…
exception error keras, image, patches, rank-error, input-validation
Path ' ' matches multiple layout specification keys: …
exception error
The `weights` argument should be either `None` (random…
exception error
The `weights` argument should be either `None` (random…
exception error
Expected `trainable` to be a boolean. Received: trainable=
validation error
`inputs` argument cannot be empty. Received: inputs=
exception error keras, ops, function, inputs
Invalid `size`. Expected length 2 for 2D reconstruction…
exception error
No endpoints have been set yet. Call add_endpoint().
exception error
The `weights` argument should be either `None` (random…
exception error
When using `TextVectorization` to tokenize strings, the…
validation error
axes must be different
exception error
`backward_layer` need to be a `keras.layers.Layer`…
validation error
Input with name ' ' of layer ' ' is incompatible with the…
validation error
Invalid format for argument `axes`: list elements should be…
validation error
meshgrid requires at least 2 input arrays. Received
exception error
The model contains two variables with a duplicate path…
exception error keras, variables, checkpointing, naming
Torch export requires PyTorch backend.
exception error
`x` (images tensor) and `y` (labels) should have the same…
validation error keras, numpy-array-iterator, shape-mismatch, labels
A `Subtract` layer should be called on exactly 2 inputs…
validation error
Found reserved OOV token at unexpected location in…
validation error keras, preprocessing, index-lookup, vocabulary, special-tokens
If set, `max_tokens` must be greater than 1. Received…
validation error keras, preprocessing, index-lookup, validation
Invalid image1 rank: expected rank 3 (single image) or rank…
validation error keras, image, ssim, shape-validation
Invalid `output_size`. Expected length 3 (D, H, W). Got…
exception error keras, image, patches, argument-shape, input-validation
Invalid `threshold` argument value. It should be a Python…
exception error keras, metrics, fbeta, threshold, type-validation
Invalid value for `axis` argument: expected an int or a…
exception error
Layer " " expects named input(s) with keys , but it…
validation error
`num_tokens` must be >= 1. Received: num_tokens=
validation error
`patches` has unexpected rank for 2D channels_first…
exception error
Expected as input a list/tuple of 2 tensors. Received…
validation error keras, hashed-crossing, shape, input-validation