update template code

This commit is contained in:
phatakmr
2025-10-13 14:48:00 +02:00
parent c9d159fcc6
commit 8f637a4a0d
46 changed files with 2955 additions and 1 deletions

14
mmp/a4/label_grid.py Normal file
View File

@@ -0,0 +1,14 @@
from typing import Sequence
import numpy as np
from ..a3.annotation import AnnotationRect
def iou(rect1: AnnotationRect, rect2: AnnotationRect) -> float:
raise NotImplementedError()
def get_label_grid(
anchor_grid: np.ndarray, gts: Sequence[AnnotationRect], min_iou: float
) -> tuple[np.ndarray, ...]:
raise NotImplementedError()