mkdocs update + pre-commit fix
This commit is contained in:
parent
b867968a10
commit
fcb47f7226
|
|
@ -11,6 +11,12 @@ status: new
|
|||
|
||||
:::supervision.detection.utils.box_iou_batch
|
||||
|
||||
<div class="md-typeset">
|
||||
<h2><a href="#supervision.detection.utils.box_iou_batch_with_jaccard">box_iou_batch_with_jaccard</a></h2>
|
||||
</div>
|
||||
|
||||
:::supervision.detection.utils.box_iou_batch_with_jaccard
|
||||
|
||||
<div class="md-typeset">
|
||||
<h2><a href="#supervision.detection.utils.mask_iou_batch">mask_iou_batch</a></h2>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -16,3 +16,9 @@ status: new
|
|||
</div>
|
||||
|
||||
:::supervision.metrics.mean_average_precision.MeanAveragePrecisionResult
|
||||
|
||||
<div class="md-typeset">
|
||||
<h2><a href="#supervision.dataset.formats.coco.get_coco_class_index_mapping">get_coco_class_index_mapping</a></h2>
|
||||
</div>
|
||||
|
||||
:::supervision.dataset.formats.coco.get_coco_class_index_mapping
|
||||
|
|
@ -1,7 +1,4 @@
|
|||
import importlib.metadata as importlib_metadata
|
||||
from typing import List
|
||||
|
||||
import numpy as np
|
||||
|
||||
try:
|
||||
# This will read version from pyproject.toml
|
||||
|
|
|
|||
|
|
@ -785,4 +785,4 @@ def _merge_tiles_elements(
|
|||
def _generate_color_image(
|
||||
shape: Tuple[int, int], color: Tuple[int, int, int]
|
||||
) -> np.ndarray:
|
||||
return np.ones(shape[::-1] + (3,), dtype=np.uint8) * color
|
||||
return np.ones((*shape[::-1], 3), dtype=np.uint8) * color
|
||||
|
|
|
|||
Loading…
Reference in New Issue