↓ 3 callersFunctionbox_iouReturn intersection-over-union (Jaccard index) of boxes. Both sets of boxes are expected to be in (z1, x1, y1, z2, x2, y2) format. https://git
utils3D/lossandmetrics.py:133
↓ 3 callersFunctionzxyzxy2zxydwhConvert nx6 boxes from [z1, x1, y1, z2, x2, y2] to [z, x, y, d, w, h] where zxy1=top-left, zxy2=bottom-right Args: labels (torch.tensor o
utils3D/general.py:127
↓ 2 callersFunctionzxydwh2zxyzxyConvert nx6 boxes from [z, x, y, d, w, h] to [z1, x1, y1, z2, x2, y2] where zxy1=top-left, zxy2=bottom-right Args: labels (torch.tensor o
utils3D/general.py:82
↓ 1 callersFunctionAnchorCalculator(dataset, model, imgsz=default_size, thr=4.0, gen=1000, opt_hypers=False)
utils3D/anchorcalculator.py:33
↓ 1 callersMethodbuild_targetsBuild targets for compute_loss() input targets with format (image,class,z,x,y,d,w,h) Args: pred (torch.Tensor): Examp
utils3D/lossandmetrics.py:299
↓ 1 callersFunctionprocess_batch Return correct predictions matrix. Both sets of boxes are in (z1, x1, y1, z2, x2, y2) format. Arguments: detections (Array[N, 8]), z1
val.py:53
↓ 1 callersMethodprocess_batch Return intersection-over-union (Jaccard index) of boxes. Both sets of boxes are expected to be in (z1, x1, y1, z2, x2, y2) format.
utils3D/lossandmetrics.py:386