mmengine.utils.dl_utils¶
A tool that counts the average running time of a function or a method. |
Collect the information of the running environments. |
|
Loads the Torch serialized object at the given URL. |
|
Detect whether model has a BatchNormalization layer. |
|
Check if a layer is a normalization layer. |
|
Check whether mmcv-full is installed. |
|
Convert tensor to 3-channel images or 1-channel gray images. |
|
A string with magic powers to compare to both Version and iterables! Prior to 1.10.0 torch.__version__ was stored as a str and so many did comparisons against torch.__version__ as if it were a str. |
|
Set multi-processing related environment. |
|
A wrapper of torch.meshgrid to compat different PyTorch versions. |
|