roboflow/supervision

Documented errors, page 3 of 4. Back to roboflow/supervision

Code / MessageTypeSeverityTags
confidence must be 1d np.ndarray with (n, ) shape
validation error classifications, numpy, shape-mismatch, confidence
Cannot pass both 'confidence' and 'keypoint_confidence'…
validation error keypoints, deprecation, api-migration, validation
mask must contain masks, but got
validation error detections, mask, compact-mask, validation
Polygon must have at least one vertex.
validation error geometry, polygon, validation, numpy
opacity must be between 0.0 and 1.0
validation error image, opacity, validation, argument-error
LabelMe shape of type
validation error labelme, dataset, json, annotation-format
The number of line zones and their labels must match.
validation error line-zone, annotator, length-mismatch, validation
Cannot merge CompactMask objects with different image shapes
validation error compact-mask, merge, image-shape, resolution-mismatch
RLE size must be [height, width].
validation error coco, rle, compact-mask, size-format, type-error
The keys of the images and annotations dictionaries must…
validation error dataset, constructor, key-mismatch, validation
Unsupported interpolation mode
validation error opencv-fallback, resize, interpolation, environment
Value must be a np.ndarray or a list
validation error metrics, f1-score, shape-validation, internal-api
kernel_size must be >= 1, got
validation error annotators, blur, validation
Opacity must be between 0.0 and 1.0.
validation error drawing, opacity, validation
Class ID is required for YOLO annotations.
validation error yolo, export, detections, class-id
Detections must include class_id for COCO export.
validation error coco, detections, class-id, dataset-export
HSV2BGR conversion requires a three-channel image
validation error cv2-fallback, color-conversion, hsv, shape-validation
`image` must be a numpy.ndarray or PIL.Image.Image…
validation error image, resolution, type-guard, numpy, pillow
top_k could not be calculated, confidence is None
validation error classifications, top-k, confidence, none-check
Cannot append to CSV: The file
exception error csv-sink, context-manager, lifecycle, exception
Detections class_id must be a subset of…
validation error dataset, class-id, mapping, validation
Mean mask must match the image height and width
validation error opencv-fallback, mask, shape-mismatch, statistics
Both Detections should have exactly 1 detected object.
validation error detections, merge, validation, supervision
Inconsistent data types for key
validation error detections, data-dict, merge, numpy
NumPy image must have at least 2 dimensions (H, W, ...)…
validation error image, resolution, numpy, shape-mismatch
Could not resolve color by class because Detections do not…
validation error annotators, color, configuration
Length of color lookup
validation error annotators, color, alignment
prefetch must be >= 0, got
validation error video, validation, configuration
Video source has no video stream
validation error opencv-fallback, pyav, video-capture, invalid-input, media-validation
Could not create image tiles from empty list of images.
validation error image, tiles, empty-input, validation
Expected mapping in data.yaml at
validation error yolo, dataset, yaml, config
`image` must be a numpy.ndarray or PIL.Image.Image. Received
validation error image, crop, type-guard, numpy, pillow
`overlap_wh` values must be non negative. Received
validation error inference-slicer, validation, configuration, valueerror
box coordinates must be real-valued
validation error iou, numpy, dtype, validation
EasyOCR results produced with detail=0 do not include…
validation error easyocr, ocr, detail, from-easyocr
image_shape must contain positive height and width.
validation error compact-mask, coco, rle, image-shape, validation
The provided Transformers results do not contain any valid…
validation error transformers, huggingface, from-transformers, validation
COCO annotation file contains duplicate entries for image
validation error coco, dataset-load, duplicates, data-quality
COCO annotation refers to image
validation error coco, dataset-load, path-validation, data-quality
`slice_wh` must be an int or a tuple of two positive…
validation error inference-slicer, configuration, validation, valueerror
Both elements in resolution must be integers. …
validation error resolution, validation, type, configuration
Invalid VLM result type
validation error vlm, paligemma, type, from-vlm, decode
max_axis must be positive when provided
validation error validation, color, rgba, alpha, range, valueerror
Areas must be shaped (N,)
validation error metrics, object-size, shape-validation, numpy
BGR2GRAY conversion requires a three-channel image
validation error cv2-fallback, color-conversion, grayscale, channels
class_id is required for LabelMe export, but the provided…
validation error labelme, export, detections, class-id
Contour input must be a two-dimensional image
validation error cv2-fallback, contours, shape-validation, image-processing
Could not place in grid with size: .
validation error image, tiles, grid, capacity
`overlap_wh` must be an int or a tuple of two non negative…
validation error inference-slicer, configuration, validation, valueerror
Each RLE payload must contain 'size' and 'counts'.
validation error coco, rle, compact-mask, missing-key, api-contract
bottomLeftOrigin is not supported by the fallback
validation error opencv-fallback, puttext, pillow, unsupported-feature
class_id is required for CreateML export, but the provided…
validation error createml, detections, class-id, dataset-export
CreateML annotation file must contain a JSON list at the…
validation error createml, dataset-load, json, format-mismatch
Each RLE payload must be a mapping.
validation error coco, rle, compact-mask, type-error, api-contract
keypoint_confidence second dimension must be
validation error keypoints, confidence, validation, shape
Missing ' ' in Pascal VOC annotation.
validation error pascal-voc, xml, dataset-load, schema
mode must be 'edge' or 'centroid'
validation error masks, mode, validation, string-literal
Unsupported video codec
validation error opencv-fallback, pyav, video-codec, fourcc
Video frame must have shape
validation error opencv-fallback, pyav, video-writer, shape-mismatch
Only 4- and 8-connectivity are supported
validation error opencv-fallback, connected-components, connectivity, input-validation
Conflicting metadata for key
validation error detections, metadata, merge, numpy
visible must be a 2D np.ndarray with shape (n, m), but got…
validation error keypoints, validation, shape, mask
The number of icon paths provided
validation error annotators, icons, alignment
Unsupported flip code
validation error opencv-fallback, flip, input-validation
Value for key ' ' must be a list or np.ndarray
validation error detections, data-dict, validation, type
xyxy must have shape (N, 4), where N matches the number of…
validation error compact-mask, coco, rle, bounding-box, shape-mismatch
LabelMe rectangle shape
validation error labelme, dataset, rectangle, json
The number of images exceeds the grid size. Please increase…
validation error visualization, matplotlib, notebook, validation
At least one channel is required
validation error cv2-fallback, channels, merge, validation
CreateML annotation refers to image
validation error createml, dataset-load, path-validation, data-quality
Invalid asset. It should be one of the following
validation error assets, download, invalid-argument, enum
Invalid hex digits in
validation error color, validation, annotators
Invalid table position. Supported values are: TOP_LEFT…
validation error line-zone, annotator, position, validation
Length of list for key
validation error detections, data-dict, validation, alignment
masks_true and masks_detection must share the same (H, W)…
validation error masks, iou, shape-mismatch, resolution
RGBA must be a 4-tuple with values between 0-255.
validation error color, validation, annotators
PyAV fallback supports file paths, not webcam device…
exception error opencv-fallback, pyav, webcam, backend-unavailable, environment
Could not put detections into Trace because Detections do…
validation error tracking, annotators
GRAY2BGR conversion requires a two-dimensional image
validation error cv2-fallback, color-conversion, grayscale, shape-validation
CreateML annotation refers to image
validation error createml, dataset-load, path-traversal, security
Expected to contain elements (N= detections x 8…
validation error
Detections confidence must be given for NMM to be executed.
validation error nmm, merge, confidence, detections
Connected-component input must be a two-dimensional image
validation error opencv-fallback, connected-components, dimensionality, input-validation
CreateML annotation refers to image
validation error createml, dataset-load, path-validation, corruption
epsilon must be non-negative
validation error opencv-fallback, approx-poly-dp, epsilon, input-validation
new_image_shape must contain positive dimensions
validation error compact-mask, offset, image-shape, slicing, validation
xyxy must be a 2D np.ndarray with shape
validation error detections, validation, shape, numpy
Detections confidence must be given for NMS to be executed.
validation error nms, confidence, detections, suppression
PyAV video fallback only supports color (3-channel BGR)…
exception error opencv-fallback, pyav, video-writer, grayscale, not-implemented
tracker_id must be a 1D np.ndarray with shape
validation error detections, tracking, validation, shape
CreateML annotation refers to image
validation error createml, dataset-load, path-validation, data-quality
edges is a dict but class_id is None; KeyPoints must have…
validation error metrics, precision, class-id, input-validation
visible second dimension must be
validation error keypoints, validation, shape, mask
Detections confidence must be given for Soft-NMS to be…
validation error soft-nms, confidence, detections, suppression
Both dimensions in resolution must be positive. Got
validation error resolution, validation, configuration, video
`thread_workers` must be a positive integer. Received
validation error inference-slicer, threading, configuration, validation, valueerror
CreateML annotation entry is missing the required 'image'…
validation error createml, dataset-load, schema, missing-key
EasyOCR results must contain four corner points per…
validation error easyocr, ocr, shape, numpy, from-easyocr
keypoint_confidence must be a 2D np.ndarray with shape (n…
validation error keypoints, confidence, validation, shape
class_id must be a 1D np.ndarray with shape
validation error detections, validation, shape, numpy