dgs.utils.validation¶
Utilities for validating recurring data types.
Module Functions
|
Given a torchvision tensor of bounding boxes, validate them and return them as a torchvision-tensor of bounding-boxes. |
|
Given a tensor, make sure he has the correct number of dimensions. |
|
Validate the file path. |
|
Validate a given tensor of heatmaps, whether it has the correct format and shape. |
|
Validate a given tensor or single integer value. |
|
Given one single image or a stacked batch images, validate them and return a torchvision-tensor image. |
|
Given one single or multiple images, validate them and return a torchvision-tensor image. |
|
Given a tensor of key points, validate them and return them as torch tensor of the correct shape. |
|
Check a single value against a given predefined validation, possibly given some additional data. |