keras-team/keras

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

Code / MessageTypeSeverityTags
input_tensor: is not type input_tensor. Received…
exception error
input_tensor: is not type input_tensor. Received…
exception error
input_tensor must be a valid Keras tensor type; Received
exception error
Cannot compute sparse categorical crossentropy with `axis=
exception error
should be a TensorLayout type, got
exception error
Unknown converter attribute
validation error
Unknown target_spec attribute
validation error
Invalid `output_shape
exception error
map_coordinates currently requires order<=1
exception error
`sparse=True` is not supported with numpy backend
exception error
The provided configuration is not a valid Keras…
exception error
Unable to import backend
exception error
`factor` argument cannot have an upper bound lesser than…
validation error keras, data-augmentation, argument-validation, legacy, random-height
Unknown Inception-ResNet block type. Expects "block35"…
exception error
If imagenet weights are being loaded, depth multiplier must…
exception error
Last dimension of inputs to `cdist` must match
exception error
Require at least Ampere arch to run
exception error
A KerasTensor is symbolic: it's a placeholder for a shape…
exception error
Backend ' ' must implement the Trainer class.
exception error
Incompatible shapes between `a` and `b`. Expected…
validation error keras, linalg, linear-solve, shape-validation, solver
input_tensor is not a Keras tensor; Received `input_tensor=
exception error
All `axis` values must be in the range
exception error
`factor` argument cannot have an upper bound less than the…
validation error keras, data-augmentation, argument-validation, legacy, random-width
Invalid `ord` argument for vector norm. Received: ord=
exception error
Only one of `pad_to_aspect_ratio` & `crop_to_aspect_ratio`…
exception error
`decode_predictions` expects a batch of predictions (i.e. a…
exception error
`unroll` must be an positive integer or boolean. Received…
exception error
adaptive_average_pool supports 1D, 2D, or 3D inputs only.
exception error
Arguments not recognized
validation error
was passed incompatible inputs. For input ' ', expected…
exception error keras, shape-mismatch, input-validation, functional
Argument `num_segments` cannot be set when sorted is True…
exception error
Axis of input tensor should have a defined dimension but…
exception error
Received an invalid value for argument `units`, expected a…
exception error keras, rnn, constructor-validation, units
The input ' ' is not optional, but None was passed. Please…
validation error
Argument `segment_ids` should be an 1-D vector, got shape
validation error keras, segment-ops, shape-validation, grouped-reduction, jax-semantics
Expected all elements in `variables` to be `tf.Variable`…
exception error
Invalid `data_format` argument
validation error keras, upsampling2d, data-format, argument-validation
Layer does not take a `factor` argument. Received: factor=
validation error keras, image-preprocessing, invalid-argument, config
Lora is incompatible with kernel constraints. In order to…
exception error keras, lora, einsum-dense, kernel-constraint, peft
`overwrite_with_gradient` must be a boolean. Received
validation error
Argument `size` must be a tuple of two elements (height…
exception error
`ragged=True` is not supported with numpy backend
exception error
The `fill_value` argument should be a number (or a list of…
exception error keras, preprocessing, argument-validation, shape
Unknown `fill_mode` . Expected of one .
exception error keras, preprocessing, argument-validation, enum
After filtering for sequences shorter than maxlen=
validation error
Missing data for input
validation error
The `seed` and `generator` variable must be set in the…
validation error
First dim of `coordinates` must be the same as the rank of…
exception error keras, image, map-coordinates, shape-mismatch, input-validation
Multiple target dimensions are not supported. Expected…
exception error keras, batch-dot, axes-validation, legacy-backend
Cannot apply softmax to a tensor that is 1D. Received input
exception error
JVP is not supported by the Numpy backend.
exception error
All cells must have a `state_size` attribute. Received cell…
exception error keras, rnn, custom-cell, state-size
Invalid padding
exception error keras, tensorflow, convolution, padding, argument-validation
`interpolation` argument should be one of
exception error
`Pipeline` config must contain a `layers` key mapping to a…
validation error
The shape of `window` must be equal to…
exception error
If a string is passed to `window`, it must be one of…
exception error
The `weights` argument should be either `None` (random…
exception error keras, image-ops, padding, argument-validation
axis size must be divisible by 2. Received: x.shape=
exception error
If `bounding_boxes['boxes']` is a list, then…
validation error keras, bounding-boxes, input-validation, object-detection
NASNet does not support the `channels_first` image data…
exception error
Unsupported data type
exception error
The structure of `inputs` doesn't match the expected…
validation error
Expected ` ` to have shape (B, 1, T, S) or (B, N, T, S)…
validation error
Invalid strategy . Supported values are 'greedy' and…
exception error
`start_index+length=
exception error keras, timeseries, preprocessing, index-bounds
All entries in `input_tensors` must be KerasTensors…
validation error
Architecture configuration does not match
exception error keras, image-ops, rank-error, shape-mismatch
Invalid axes: . Axes must be a tuple of two different…
exception error
Invalid data_format: . Expected 'channels_first' or…
exception error
The `mask` passed to the `TimeDistributed` layer has a shape
exception error keras, time-distributed, masking, dimension-mismatch
Values in `cropping` argument should be smaller than the…
validation error keras, cropping3d, runtime-shape-check, reshaping-layer
`fft_length` must equal or larger than `sequence_length`…
exception error
When creating a Variable from an initializer, the `shape`…
exception error
You must specify a layout_map argument.
exception error
Invalid images rank: expected rank 3 (single image) or rank…
exception error
Unknown vectorization mode:
exception error keras, text, tokenizer, mode
Unsupported value `sparse=True` with numpy backend
exception error
compute_iou() expects boxes1 to be batched, or to be…
validation error keras, bounding-boxes, iou, rank-error
Received: value_range=
validation error keras, image-preprocessing, auto-contrast, invalid-argument
Weight count mismatch for layer #
exception error
Argument `num_thresholds` must be an integer > 0. Received…
exception error keras, metrics, num-thresholds
`height` and `width` must be set if `format='xyxy'`.
validation error keras, bounding-boxes, clip, missing-argument
Input length must be statically known for adaptive pooling
exception error
Shape mismatch in for weight . Weight expects shape …
exception error
When using `output_mode=
exception error keras, vocabulary, frozen-state, shape-validation
Expected b.shape[0] to be equal to a.shape[0]. Received…
validation error
Found reserved mask token at unexpected location in…
validation error keras, preprocessing, index-lookup, vocabulary, special-tokens
Invalid `ord` argument for matrix norm. Received: ord=
exception error
Layer node index out of bounds. inbound_layer =
exception error
`patches` has unexpected rank for 3D channels_first…
exception error keras, image, patches, data-format, rank-error
Pooling inputs's shape must be 3, 4 or 5, corresponding to…
exception error
`track` is not implemented in the numpy backend.
exception error
You must build the layer before accessing `embeddings`.
exception error keras, embedding, build-state, attribute-access
Argument `metric_variables` must be a list of tensors…
exception error keras, metrics, stateless-api, variables
Cannot unroll a RNN if the time dimension is undefined. -…
exception error
input_tensor: is type: which is not a valid type
exception error
Threshold values must be in [0, 1]. Received
validation error keras, metrics, thresholds, validation, valueerror
Axis is out of bounds for input shape . Received: axis=
exception error
Invalid value for argument `reduction`. Expected one of
exception error