keras-team/keras

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

Code / MessageTypeSeverityTags
Input `x` should be a tuple of two tensors - real and…
exception error keras, fft, shape-mismatch, input-validation
Invalid `average` argument value. Expected one of
exception error keras, metrics, fbeta, argument-validation
Invalid `size` argument. Expected an int or a tuple of…
exception error
Sequential model ' ' has no defined output shape yet.
exception error keras, sequential, output-shape, lazy-build
`slice_update` requires integral start_indices
exception error
adapt() expects an iterable that yields arrays or tensors…
validation error keras, normalization, adapt, type-validation
axes must be a tuple of length 2
exception error
Cannot determine `ndim`: tensor has a dynamically-ranked…
exception error
Invalid type for argument `axes`: it should be a list or an…
validation error
Must specify exactly two of top_cropping, bottom_cropping…
exception error keras, image, cropping, argument-validation
right_padding must be >= 0. Received: right_padding=
exception error
Sequential model ' ' has already been configured to use…
exception error
Sequential model ' ' has no defined input shape yet.
exception error keras, sequential, input-shape, lazy-build
Invalid reduction: . Supported values are: None, 'add'…
exception error keras, ops, scatter-update, reduction
Output with path ` ` is not connected to `inputs
exception error keras, ops, function, graph
`shape` was passed both positionally and as a keyword…
validation error
Invalid valid received for argument `use_cudnn`. Expected…
exception error
`kron` does not support tensors with dynamic rank for the…
exception error
Layer weight shape is not compatible with provided weight…
validation error keras, weights, shape, set-weights
You must call `.build(input_shape)` on the layer before…
validation error
A `Subtract` layer should be called on exactly 2 inputs…
validation error
`cropping` should have two elements. Received: cropping=
validation error
Fit the Tokenizer on some data before using tfidf mode.
exception error keras, text, tokenizer, tfidf
Invalid Functional model configuration. The graph of the…
validation error
Invalid quantization mode. Expected one of
validation error keras, quantization, invalid-argument
The argument `strides` cannot contains 0(s). Received…
exception error keras, separable-conv, strides, invalid-arguments
`add_loss()` can only be called from inside `build()` or…
validation error keras, layers, add-loss, tensor-validation
`frame_step` should be a positive integer not greater than…
validation error
Invalid `size` argument. Expected an int or a tuple…
exception error
`mask` should be a list. Received: mask=
validation error keras, merge, masking
You called `set_weights(weights)` on layer
validation error keras, weights, set-weights, loading
A FeatureSpace can only be called with a dict. Received…
validation error keras, feature-space, input-type, dict
Argument `input_tensors` must contain a single tensor.
validation error keras, models, clone-model, sequential, input-tensors
Input with name ' ' of layer ' ' is incompatible with the…
validation error
input_shape[1] must equal shape(input_tensor)[1] when…
exception error
Input should have its last 2 dimensions fully-defined…
validation error
Sequential model ' ' has no defined inputs yet.
exception error keras, sequential, inputs, lazy-build
The argument `kernel_size` cannot contain 0. Received…
exception error keras, depthwise-conv, kernel-size, invalid-arguments
`validation_split` must be strictly between 0 and 1. …
exception error keras, validation-split, range-validation
When backend.image_data_format()=channels_first…
exception error
`add_endpoint` is not implemented in the openvino backend.
exception error
Layers added to a Sequential model can only have a single…
exception error keras, sequential, layer, required-arguments
`num_labels` is needed only when `multi_label` is True.
exception error keras, metrics, auc, multi-label, argument-misuse
Provide either a layer name or layer index at `get_layer`.
exception error
Unrecognized keyword argument(s)
validation error keras, preprocessing, index-lookup, api-mismatch, typo
Argument `size` should be a positive integer. Received…
validation error keras, upsampling1d, argument-validation, value-validation
Column weight_col= must be numeric.
exception error keras, dataframe, dtype-validation
`factor` should be between 0 and 1. Received: factor=
exception error
The `salt` argument for `IndexLookup` can only be a tuple…
validation error keras, preprocessing, index-lookup, argument-validation, type-error
When the width of the images is unknown, `target_width`…
exception error
All values in column x_col=
exception error keras, dataframe, type-validation
`brightness_range should be tuple or list of two floats…
exception error keras, data-augmentation, argument-validation
Cannot infer argument `num` from shape
exception error keras, ops, symbolic-tensors, dynamic-shape
`encoded_format` should be 'center_xywh' or 'center_yxhw'…
validation error keras, bounding-boxes, decoding, invalid-enum-argument
Expect string, list or tuple but found
exception error keras, dataframe, type-validation
Forward layer and backward layer are expected to have the…
validation error
target_width must be >= 0. Received: target_width=
exception error
`axis1` and `axis2` cannot be the same.
exception error
indexing must be either 'xy' or 'ij'
exception error
Layer node index out of bounds.\ninbound_layer =
exception error
`sequence_stride` must be a positive integer. Received…
exception error keras, stft, input-validation, type-error
The `num_bins` for `Hashing` cannot be `None` or…
validation error keras, hashing, num-bins, argument-validation
The value of `num_oov_indices` argument for `IntegerLookup`…
validation error keras, argument-validation, integer-lookup
Argument `recall` must be in the range [0, 1]. Received…
exception error keras, metrics, recall, range-validation
`data_format` should be `"channels_last"` (channel after…
exception error keras, data-format, argument-validation
dmax should be non-negative in the `renorm_clipping`…
validation error
`ragged=True` can only be used with the TensorFlow backend.
validation error
use_cudnn=True was specified, but cuDNN is not supported…
exception error
Argument `n` should be a positive integer. Received: n=
validation error keras, repeat-vector, argument-validation, value-validation
Invalid value for argument `depth_multiplier`. Expected a…
exception error keras, separable-conv, invalid-arguments, validation
Must specify exactly two of left_padding, right_padding…
exception error keras, image, padding, argument-validation
`save_model()` using h5 format requires h5py. Could not…
exception error keras, saving, hdf5, dependency
The `filters` argument must be a regex string, a list of…
exception error
The number of repeats in `EfficientNetV2` must be > 0…
exception error keras, cropping, validation
Weight count mismatch for top-level weights of model. Model…
exception error
When specifying the input shape of a NASNet and loading…
exception error
`zoom_range` should be a tuple or list of two floats…
exception warning keras, deprecated, data-augmentation
Invalid value for argument `filters`. Expected a strictly…
exception error keras, separable-conv, filters, invalid-arguments
Received an invalid value for `threshold`, expected a float…
exception error
A merge layer should be called on a list of inputs…
validation error keras, merge, input-format, runtime
bottom_padding must be >= 0. Received: bottom_padding=
exception error
Flash attention is not supported in your current JAX…
exception error
`HashedCrossing` should be called on at least two inputs…
validation error keras, hashed-crossing, input-count
If pad_to_max_tokens is True, must set `max_tokens`…
validation error keras, preprocessing, index-lookup, validation
All layers added to a Sequential model should have unique…
exception error
Target class id is out of range, which is
exception error keras, metrics, iou, segmentation, off-by-one
diagonal requires input tensor with rank >= 2.Given rank
exception error
Number of samples, `num`, must be non-negative.
exception error
`fft_length` should be not less than `frame_length`…
validation error
`track` is not implemented in the openvino backend.
exception error
input x is None
exception error
Invalid `output_size`. Expected length 2 (H, W). Got…
exception error
left_cropping must be >= 0. Received: left_cropping=
exception error
right_cropping must be >= 0. Received: right_cropping=
exception error
`swapaxes` does not support tensors with dynamic rank for…
exception error
Padding is invalid, it should be 'valid', 'same'. Received…
validation error
Unsupported value `sparse=True`
exception error
`fit` is not supported with openvino backend
exception error
`train_on_batch` is not supported with openvino backend
exception error