You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
Is your feature request related to a problem? Please describe.
As far as I can see, the current API requires the different components to be chained through a TransformChainComponent and there is no easy means to use the building blocks in a functional approach. This makes rapid prototyping a bit tedious. We should consider an API similar to that in Pytorch/MONAI which allows to either compose transformations or call simple functions directly.
Describe alternatives you've considered
The fine-grained video IO API from torchvision.io seems to provides such a functionality for reading videos but it doesn't cover capture cards or video writting: https://pytorch.org/vision/stable/io.html#fine-grained-video-api
Additional context
There is also quite some interesting material as part of PyTorchVideo: https://pytorchvideo.org/
The text was updated successfully, but these errors were encountered:
tvercaut
changed the title
[Feature] Consider having a more composable API which seamlessly integrates with vanilla pytorch
[Feature] Consider having a more composable functional API which seamlessly integrates with vanilla pytorch
Mar 29, 2022
Is your feature request related to a problem? Please describe.
As far as I can see, the current API requires the different components to be chained through a
TransformChainComponent
and there is no easy means to use the building blocks in a functional approach. This makes rapid prototyping a bit tedious. We should consider an API similar to that in Pytorch/MONAI which allows to either compose transformations or call simple functions directly.Describe the solution you'd like
For the functional API, an API similar to the OpenCV one but based on PyTorch tensors would be great:
https://docs.opencv.org/5.x/dd/d43/tutorial_py_video_display.html
Describe alternatives you've considered
The fine-grained video IO API from
torchvision.io
seems to provides such a functionality for reading videos but it doesn't cover capture cards or video writting:https://pytorch.org/vision/stable/io.html#fine-grained-video-api
Additional context
There is also quite some interesting material as part of PyTorchVideo:
https://pytorchvideo.org/
The text was updated successfully, but these errors were encountered: