Closed liopeer closed 2 weeks ago
Attention: Patch coverage is 95.65217%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 85.01%. Comparing base (
c37ecf4
) to head (ccaa553
). Report is 1 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
lightly/transforms/add_grid_transform.py | 95.34% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Motivation
AddGridTransform
is meant to segment the image into local patches based on a regular grid and works on arbitrary data structures that containBoundingBoxes
andMask
instances (seetorchvision.tv_tensors
andtorchvision.transforms.v2
) following DetCon (https://arxiv.org/abs/2103.10957).Changes
Masks
s to create regular grid of classesBoundingBoxes
' to create regular grid of bounding boxestransforms/__init__.py
Demo
below a plot for an image size of (32, 32), mask is on the left, drawn bounding boxes on the right
Docs