keras-team/keras

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

Code / MessageTypeSeverityTags
unsupported type of indices_or_sections
exception error
If `bounding_boxes['boxes']` and `bounding_boxes['labels']`…
validation error keras, bounding-boxes, length-mismatch, batch-data
The `shape` attribute of KerasTensor is immutable. One…
exception error
`x` and `weights` must both be BCOOs
validation error
`diagonal` requires input tensor with static rank.
exception error
LiteRT export requires TensorFlow or PyTorch backend.
exception error
`ragged` must not be true if `output_mode` is `'int'`…
validation error
The `factor` argument should be a number (or a list of two…
validation error keras, image-preprocessing, factor, invalid-argument
When providing the `input_tensor` argument, you cannot…
exception error
Argument `input_tensors` must be a KerasTensor. Received…
validation error keras, models, clone-model, keras-tensor, type-check
Array inputs to associative_scan must have the same first…
validation error
`idf_weights` should only be set if `output_mode` is…
validation error keras, preprocessing, index-lookup, tf-idf, argument-validation
Input should have rank >= 1. Received: input.shape =
exception error keras, fft, rank, shape
Invalid subset name: ; expected "training" or "validation".
validation error keras, validation-split, argument-validation
Invalid value for argument `synchronization`. Expected one…
exception error
`sliding_window` must be `None` or a positive integer…
exception error
state_size must be an integer, or a list/tuple of integers…
exception error
When the height of the images is unknown, `target_height`…
exception error
Argument synchronized=True is only supported with the…
validation error
ConvLSTM layers only support static input shapes for the…
exception error
Input with name ' ' of layer ' ' is incompatible with the…
validation error
Unexpected keyword argument(s)
validation error keras, models, clone-model, kwargs, api-mismatch
wrong number of output arguments: expected
exception error
All `HashedCrossing` inputs should have shape `()`…
validation error keras, hashed-crossing, shape
Argument `non_trainable_variables` must be a list of…
validation error keras, stateless, variables, validation
Expected a to have rank 2. Received: a.shape=
validation error
Input data in `NumpyArrayIterator` should have rank 4. You…
exception error keras, numpy, tensor-rank
`mask` should be a list. Received mask=
validation error keras, concatenate, masking
RandomCrop requires the input to have a fully defined…
validation error keras, random-crop, dynamic-shape, image-preprocessing
`x` and `weights` BCOOs must have the same indices
validation error
All tensors passed to `ops.shape` must have a statically…
validation error
Expected tuple or dict for `loop_vars`, Received
exception error
Input with name ' ' of layer ' ' is incompatible with the…
validation error
Invalid `strides` argument. Got
exception error
Output mode is invalid, it must be one of
validation error
Shape of weights must be consistent with shape of a along…
exception error
The `flip` operation does not support tensors with dynamic…
exception error
Unsupported data type
validation error keras, normalization, adapt, type-validation
When `output_mode` is `'tf_idf'`, `idf_weights` must be…
validation error keras, tf-idf, missing-argument, preprocessing
Layer Hashing requires TensorFlow. Install it via `pip…
exception error keras, hashing, tensorflow, import-error
Layer ' ' expected variables, but received variables during…
validation error keras, loading, weights, variable-mismatch
Layer ' ' is already quantized with dtype_policy=' '…
validation error keras, quantization, double-operation
`lcm` is only supported for integer types.
exception error
must be >= 0. Received: =
exception error keras, image, padding, argument-validation
Only `None` and `softmax` activations are allowed for the…
exception error
A `Dot` layer should be called on a list of 2 inputs…
validation error
Cannot convert ' ' to a shape. Negative dimensions are not…
validation error
Cannot perform batch_dot over axis 0. If your inputs are…
validation error
If class_mode=" ", y_col must be a list. Received .
exception error keras, dataframe, multi-output
If `num_processes` is greater than `num_model_replicas`…
exception error
`num_bins` must be greater than or equal to 0. Received…
validation error
Targets not JSON Serializable
exception error keras, serialization, json, timeseries
When specifying the `vocabulary` argument, in TF-IDF output…
validation error keras, preprocessing, index-lookup, tf-idf, missing-argument
wrong number of positional arguments: expected
exception error
Argument `num_thresholds` must be an integer > 1. Received…
exception error keras, metrics, auc, num-thresholds
Found bounding_boxes['boxes'].shape=
validation error keras, bounding-boxes, tensor-rank, input-validation
Input should have its last dimension fully-defined…
exception error keras, fft, dynamic-shape, functional-model
Invalid `padding`. Expected 'same' or 'valid'. Got
exception error
Invalid value for argument `device_name`. Expected a string…
validation error
Layers added to a Sequential model should have a single…
exception error keras, sequential, layer, introspection
Only instances of `keras.Layer` can be added to a…
exception error
`padding='valid'` requires output_size to equal size *…
exception error
Specify a dimension (`num_words` argument), or fit on some…
exception error keras, text, tokenizer, fit-before-transform
The argument `strides` cannot contains 0. Received strides=
exception error keras, depthwise-conv, strides, invalid-arguments
The `ragged` attribute of KerasTensor is immutable. One…
exception error
To call stateless_call
validation error keras, stateless, build, functional-api
Expected `bounding_boxes['boxes']` to have rank 2 or 3…
validation error keras, bounding-boxes, tensor-rank, input-validation
Input `x` must have at least 2 dimensions. Received shape
validation error
n must be an integer. Received: n=
validation error
`num_oov_indices` must be greater than or equal to 0…
validation error keras, preprocessing, index-lookup, argument-validation
Received invalid keys for `renorm_clipping` argument
validation error
`slice` operation requires tuple for `shape` with the…
exception error
Input arrays must be multi-channel 2D images.
exception error keras, preprocessing, image, tensor-shape
Invalid value for argument `precision`. Expected one of…
exception error
Rank convolutions are not currently implemented. Received…
validation error
target_height must be >= 0. Received: target_height=
exception error
A `Concatenate` layer should be called on a list of inputs…
validation error keras, concatenate, shape-inference, input-format
For `padding='same'`, `output_size
exception error
KerasTensor cannot have `sparse=True` and `ragged=True` at…
exception error
Scaling is invalid, it must be `None`, 'density' or…
validation error
The `factor` argument should be a number (or a list of two…
validation error keras, preprocessing, range-validation, augmentation
Vocabulary file does not exist.
validation error keras, preprocessing, index-lookup, file-path, vocabulary
If class_mode="binary" there must be 2 classes. Found
exception error keras, binary-classification, argument-validation
Input with name ' ' of layer ' ' is incompatible with the…
validation error
`load_model()` using h5 format requires h5py. Could not…
exception error keras, loading, hdf5, dependency
`ragged=True` is not supported with jax backend
validation error
Received: value_range=
validation error keras, preprocessing, validation, augmentation
The shape of the target variable and the shape of the…
validation error
When providing the `input_tensor` argument, you cannot…
exception error
Cannot do batch_dot on inputs with rank < 2. Received…
validation error keras, dot, batch-dot, rank-mismatch
Currently, `_float8_call` doesn't support LoRA
exception error keras, float8, quantization, lora, einsum-dense
Expected an integer value for `size`, got
validation error keras, upsampling1d, type-validation, argument-validation
`slice_update` is not supported by openvino backend for…
exception error
You need to call `.adapt(dataset)` on the FeatureSpace…
validation error keras, feature-space, adapt, state
A `Concatenate` layer should be called on a list of at…
validation error keras, concatenate, input-format
Argument `sensitivity` must be in the range [0, 1]…
exception error keras, metrics, sensitivity, range-validation
Invalid class_mode: ; expected one of
validation error keras, directory-iterator, class-mode, invalid-argument
select(): condlist and choicelist must have the same length
validation error
`side` must be either 'left' or 'right'. Received: side=
exception error
Invalid `size` argument. Expected an int or a tuple of…
exception error