add support for creating LabeledVideoDataset from video frames
fcakyon opened this issue · comments
Currently, Video object can be constructed from a video folder that contains video frames:
pytorchvideo/pytorchvideo/data/frame_video.py
Line 115 in 08a1fce
However, LabeledVideoDataset
cannot be created from video frames since LabeledVideoPaths
class does not support that:
To solve this issue, from_path
method of the LabeledVideoPaths
Thanks for working this! I will review the PR soon.