update template code
This commit is contained in:
14
mmp/a4/label_grid.py
Normal file
14
mmp/a4/label_grid.py
Normal 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()
|
||||
Reference in New Issue
Block a user