roboflow/supervision
Documented errors, page 2 of 4. Back to roboflow/supervision
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| unreadable attribute | exception | error | attributes, descriptor, metaprogramming |
| Duplicate image basename | validation | error | labelme, dataset, duplicate, annotation-format |
| mask must be boolean | validation | error | masks, dtype, typeerror, opencv |
| ` ` has shape ; expected (N, 8) for flat YOLO format or (N… | validation | error | shape-validation, oriented-boxes, iou, numpy, detection |
| Resize dimensions must be positive | validation | error | opencv-fallback, resize, input-validation, numpy |
| SAM segmentations must all be dense arrays or COCO RLE… | validation | error | sam, segmentation, rle, type, from-sam |
| Malformed compressed RLE string: unexpected end at position | validation | error | rle, decoding, data-corruption, truncation |
| Only class instances are supported, not classes. | validation | error | introspection, validation, api-misuse |
| Callback must return `list[Detections]` when `batch_size >… | validation | error | inference-slicer, batching, callback-contract, valueerror |
| Image paths are not unique across datasets. | validation | error | dataset, merge, duplicates, validation |
| Detection area metadata must be shaped (N,) and aligned… | validation | error | metrics, object-size, data-alignment, validation |
| epsilon_step must be positive. | validation | error | polygons, validation, douglas-peucker, valueerror |
| F1Score metric requires `confidence` on predictions. | validation | error | metrics, f1-score, validation, confidence |
| The number of labels | validation | error | annotators, validation, detections, labels |
| `metrics` extra is required to run the function. Run `uv… | exception | error | metrics, import, optional-dependency, pandas, environment |
| prepared URL is empty | validation | error | url, download, validation, none-check |
| Malformed CreateML annotation entry (missing or non-string… | validation | error | createml, dataset-load, schema, data-quality |
| class_id must be 1d np.ndarray with (n, ) shape | validation | error | classifications, numpy, shape-mismatch, constructor |
| KeyPoints detection_confidence must be given for NMS to be… | validation | error | keypoints, nms, confidence, validation |
| COCO RLE counts exceed int32 range. | validation | error | coco, rle, compact-mask, overflow, int32 |
| Invalid characters in color hash | validation | error | color, validation, hex, drawing |
| LabelMe shape of type | validation | error | labelme, dataset, json, shape |
| Only unshifted drawing coordinates are supported | validation | error | cv2-fallback, drawing, fixed-point, pillow |
| VideoWriter_fourcc requires exactly four characters | validation | error | opencv-fallback, video-writer, fourcc, argument-unpacking |
| 'class_id' has entries but detections has - the two must… | validation | error | annotators, labels, alignment |
| Unsupported data type for key | validation | error | detections, data-dict, indexing, typeerror |
| Conflicting metadata for key | validation | error | detections, metadata, merge, conflict |
| Detections must have class_id attribute. | validation | error | dataset, class-id, detections, validation |
| max_line_length must be a positive integer | validation | error | annotators, validation, text-wrapping, configuration |
| All or none of the ' ' fields must be None | validation | error | keypoints, merge, validation, optional-fields |
| Either absolute_distance or relative_distance must be set. | validation | error | masks, required-argument, validation |
| First dimension of np.ndarray for key | validation | error | detections, numpy, shape-mismatch, data-dict |
| Border sizes must be non-negative | validation | error | cv2-fallback, padding, validation, arithmetic-bug |
| Class not found in target classes. source_classes must be a… | validation | error | dataset, class-mapping, merge, validation |
| Detections class_id must be an integer for Pascal VOC… | validation | error | pascal-voc, dtype, class-id, dataset-export |
| All KeyPoints must have the same number of keypoints per… | validation | error | metrics, f1-score, masks, segmentation |
| A LabelMe annotation file is missing the required… | validation | error | labelme, dataset, json, annotation-format |
| Only BORDER_CONSTANT is supported by the fallback | validation | error | cv2-fallback, padding, border, unsupported-operation |
| addWeighted fallback only supports the default output… | validation | error | cv2-fallback, blending, dtype, unsupported-operation |
| Invalid type for 'lmm | validation | error | vlm, lmm, dispatch, type, deprecated |
| Oriented bounding boxes must be shaped (N, 4, 2) | validation | error | metrics, object-size, obb, shape-validation |
| Scale factor must be positive. | validation | error | image, scale, validation, argument-error |
| The magnitude of the vector cannot be zero. | validation | error | line-zone, geometry, validation |
| `overlap_wh` must be smaller than `slice_wh` in both… | validation | error | inference-slicer, overlap, tiling, validation, valueerror |
| class_id at detection index is out of range for classes… | validation | error | labelme, export, class-id, validation |
| Contours must have shape (N, 2) or (N, 1, 2) | validation | error | opencv-fallback, contours, shape-mismatch, numpy |
| Merging lazy and in-memory DetectionDatasets is not… | validation | error | dataset, merge, lazy-loading, api-migration |
| Detections class_id must be given for | validation | error | nms, class-id, class-agnostic, detections |
| Error: Couldn't load the icon image from | exception | error | filesystem, annotators, icons |
| F1Score metric requires `class_id` on both predictions and… | validation | error | metrics, f1-score, validation, class-id |
| 2D boolean mask row count | validation | error | metrics, f1-score, metric-target, defensive-code |
| Unsupported index type | validation | error | detections, indexing, typeerror, numpy |
| image_shape exceeds the maximum allowed dimension of pixels… | validation | error | compact-mask, coco, rle, limits, image-shape |
| RLE size must match image_shape . | validation | error | coco, rle, compact-mask, resolution-mismatch, image-shape |
| All metadata dictionaries must have the same keys to merge. | validation | error | detections, metadata, merge, validation |
| roundness attribute must be float between (0, 1.0] | validation | error | annotators, validation, configuration |
| All data values within a single object must have equal… | validation | error | detections, data-dict, merge, validation |
| Cannot filter keypoints with a 2D boolean mask where rows… | validation | error | metrics, f1-score, input-validation, batch-evaluation |
| Missing polygon coordinate value in Pascal VOC. | validation | error | pascal-voc, dataset, polygon, xml |
| URL authority contains a backslash | validation | error | url, security, ssrf, validation, windows |
| Video writer is not open | exception | error | opencv-fallback, pyav, video-writer, lifecycle, error-deferred |
| Unsupported VLM value | validation | error | vlm, detections, enum, api-contract, dispatch |
| Input mask cannot be empty | validation | error | rle, mask, empty-input, validation |
| KeyPoints class_id must be given for NMS to be executed. If… | validation | error | keypoints, nms, class-id, validation |
| Malformed CreateML annotation entry | validation | error | createml, dataset-load, schema, coordinates |
| Image path (' ') does not exist. | exception | error | drawing, file-io, path, file-not-found |
| Missing bndbox in Pascal VOC annotation. | validation | error | pascal-voc, dataset, xml, annotation-format |
| Only OpenCV's default blur border is supported | validation | error | opencv-fallback, blur, border-type, unsupported-feature |
| The provided detections do not contain confidence values… | validation | error | annotators, validation, detections |
| The `tracker_id` field is missing in the provided… | validation | error | tracking, annotators, trace |
| The sum of COCO RLE counts must match the image area. | validation | error | coco, rle, compact-mask, corrupt-data, validation |
| Object of type is not JSON serializable | validation | error | json-sink, serialization, numpy, typeerror, telemetry |
| No edges defined for class_id= | validation | error | metrics, precision, confidence, input-validation |
| Invalid VLM result type | validation | error | vlm, florence-2, type, from-vlm, post-process |
| sigma must contain at least one value | validation | error | validation, color, rgb, range, valueerror |
| corners must have shape (N, 4, 2); got | validation | error | oriented-bounding-box, numpy, shape-validation, valueerror |
| Downloaded asset failed MD5 verification. | validation | error | assets, download, md5, network, integrity |
| Image must have 3 or 4 channels. | validation | error | drawing, image, shape-validation, opencv |
| The length of custom_values must match the number of… | validation | error | annotators, alignment, validation |
| BGR/RGB conversion requires a three-channel image | validation | error | cv2-fallback, color-conversion, channels, shape-validation |
| `overlap_wh` must be a non negative integer. Received | validation | error | inference-slicer, validation, configuration, valueerror |
| Requested frames are outbound | exception | error | video, opencv, bounds-check |
| 2D boolean mask column count | validation | error | metrics, f1-score, metric-target, defensive-code |
| Expected covariance shape | validation | error | validation, color-palette, empty-list, valueerror |
| COCO RLE counts must be non-negative. | validation | error | coco, rle, compact-mask, corrupt-data, validation |
| Could not decode image path | exception | error | drawing, image-decode, opencv, file-io |
| Incorrect connectivity value. Possible connectivity values… | validation | error | masks, connectivity, opencv, validation |
| `is_crowd` length ( ) must match `boxes_true` length ( ). | validation | error | iou, evaluation, shape-mismatch, validation |
| Bounding boxes must be shaped (N, 4) | validation | error | metrics, object-size, shape-validation, numpy |
| COCO annotation refers to image | validation | error | coco, dataset-load, path-traversal, security |
| COCO RLE counts cannot be empty. | validation | error | coco, rle, compact-mask, empty-input, validation |
| color length ( ) must match sigma length ( ) | validation | error | validation, color, bgra, alpha, opencv, range, valueerror |
| Unsupported color conversion code | validation | error | cv2-fallback, color-conversion, unsupported-operation |
| custom_values must be either a numpy array or a list of… | validation | error | annotators, type-error, validation |
| COCO annotation refers to image | validation | error | coco, dataset-load, path-validation, corruption |
| Triggering anchors cannot be empty. | validation | error | polygon-zone, anchors, validation, valueerror |
| Could not aggregate images shape - provided unknown mode | validation | error | image, tiles, enum, argument-error |
| Azure API returned an error | validation | error | azure, api, auth, network, vision |
| Invalid URL : no host supplied. | validation | error | url, download, validation, hostname |
| pixel_size must be >= 1, got | validation | error | annotators, pixelate, validation |