2 writes to Width
Microsoft.ML.TorchSharp (2)
AutoFormerV2\ObjectDetectionMetrics.cs (2)
328
obj.
Width
= (boxes[boxIdx++] - obj.Left + 1);
370
obj.
Width
= (boxes[boxIdx++] - obj.Left + 1);
4 references to Width
Microsoft.ML.TorchSharp (4)
AutoFormerV2\ObjectDetectionMetrics.cs (4)
164
float xright = Math.Min(bbox.Left + bbox.
Width
, gt.Left + gt.
Width
);
173
float sizePredict = bbox.
Width
* bbox.Height;
174
float sizeGroundTrue = gt.
Width
* gt.Height;