towhee.models.utils.video_transformsΒΆ
Functions
Classes
Original code from torchvision: https://github.com/pytorch/vision/tree/main/torchvision/transforms |
|
Original code from torchvision: https://github.com/pytorch/vision/tree/main/torchvision/transforms |
|
Transform for converting video frames as a list of tensors. |
|
Transform video to video & audio tensors given an video path, corresponding to models by model name. The code is buiil on top of examples given by [Pytorchvideo](https://pytorchvideo.org/). The following model names are supported: - slow_r50 - slowfast_r50 - slowfast_r101 - x3d_xs - x3d_s - x3d_m. |