vlkit package
Subpackages
- vlkit.datasets package
- vlkit.dense package
- vlkit.geometry package
- vlkit.image package
- vlkit.io package
- vlkit.lrscheduler package
- vlkit.models package
- vlkit.nms package
- vlkit.ops package
- Submodules
- vlkit.ops.blocks module
- vlkit.ops.conv module
- vlkit.ops.distributed module
- vlkit.ops.divergence module
- vlkit.ops.drop module
- vlkit.ops.dual_bn module
- vlkit.ops.functional module
- vlkit.ops.nn module
- vlkit.ops.non_local module
- vlkit.ops.scale_grad module
- vlkit.ops.squeeze_excite module
- Module contents
- vlkit.plt package
- vlkit.pytorch package
- vlkit.transforms package
Submodules
vlkit.args module
vlkit.detection module
- vlkit.detection.bbox2mask(bbox, size)[source]
convert bounding box to binary mask bbox: a bounding box represeting [x1, y1, x2, y2] size: size of the mask [H, W]