Efficiently inferencing digital videos utilizing machine-learning models
Abstract
This disclosure describes one or more implementations of a video inference system that utilizes machine-learning models to efficiently and flexibly process digital videos utilizing various improved video inference architectures. For example, the video inference system provides a framework for improving digital video processing by increasing the efficiency of both central processing units (CPUs) and graphics processing units (GPUs). In one example, the video inference system utilizes a first video inference architecture to reduce the number of computing resources needed to inference digital videos by analyzing multiple digital videos utilizing sets of CPU/GPU containers along with parallel pipeline processing. In a further example, the video inference system utilizes a second video inference architecture that facilitates multiple CPUs to preprocess multiple digital videos in parallel as well as a GPU to continuously, sequentially, and efficiently inference each of the digital videos.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 42 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: receiving a plurality of digital video files; generating, in parallel and for each digital video file of the plurality of digital video files utilizing a set of processing units, arrayed video files by: extracting a plurality of video frames for a digital video file from the plurality of digital video files to generate an extracted plurality of video frames; decoding the extracted plurality of video frames to generate a decoded plurality of video frames for the digital video file; and combining the decoded plurality of video frames into an arrayed video file; and generating, by an additional set of processing units, a plurality of inference results by utilizing a machine-learning model to sequentially process each of the arrayed video files.
- Claim 2Depends on #1
The computer-implemented method of claim 1, further comprising inferencing multiple digital videos separately and concurrently utilizing multiple video inference containers.
- Claim 3Depends on #1
The computer-implemented method of claim 1, further comprising generating, for a first digital video file from the plurality of digital video files, a first arrayed video file that is a same size as an input size of the first digital video file.
- Claim 4Depends on #3
The computer-implemented method of claim 3, further comprising generating the first arrayed video file for the first digital video file by resizing the extracted plurality of video frames to match a reduced-sized image resolution fitted to the machine-learning model.
- Claim 5Depends on #3
The computer-implemented method of claim 3, further comprising generating the first arrayed video file for the first digital video file by utilizing an unsigned byte to represent each pixel within a decoded video frame.
- Claim 6Depends on #1
The computer-implemented method of claim 1, further comprising: generating, in parallel and for each digital video file of an additional plurality of digital video files, an additional plurality of arrayed video files; and generating an additional plurality of inference results utilizing an additional instance of the machine-learning model to sequentially process each of the additional arrayed video files from the additional plurality of arrayed video files.
- Claim 7Depends on #6
The computer-implemented method of claim 6, further comprising concurrently generating the plurality of inference results and the additional plurality of inference results.
- Claim 8Depends on #1
The computer-implemented method of claim 1, further comprising sequentially generating an inference result for each of the arrayed video files utilizing batch inferencing.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present application is a continuation of U.S. application Ser. No. 17/087,116, filed on Nov. 2, 2020. The aforementioned application is hereby incorporated by reference in its entirety. BACKGROUND Recent years have seen significant improvements in hardware and software platforms for training and utilizing machine-learning models. For instance, many deep-learning methods now achieve promising performance in a wide range of computer vision tasks (e.g., processing images and videos utilizing machine-learning models). For example, many conventional systems utilize machine-learning techniques to modify, edit, merge, touch up, or classify digital videos. While advances have been made in the field of computer vision, applying machine-learning techniques to digital videos is currently resource-intensive and computationally expensive. Further, notwithstanding these advances, conventional systems continue to suffer from a number of problems in the field of computer vision, and in particular, with regard to efficiency and flexibility of digital video processing. BRIEF SUMMARY Implementations of the present disclosure provide benefits and/or solve one or more of the foregoing or other problems in the art with systems, non-transitory computer-readable media, and methods that utilize video inferencing architectures to efficiently and flexibly improve digital video processing via machine-learning models. For instance, the disclosed systems provide a framework for improving digital video processing by increasing the usage rates of both central processing units (CPUs) and graphics processing units (GPUs). As one example, the disclosed systems reduce the number of computing resources needed to inference digital videos utilizing a first video inference architecture that facilitates analyzing multiple digital videos within sets of CPU/GPU containers with parallel pipeline processing. As another example, the disclosed systems utilize a second
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (42)
Non-Patent Literature (2)
- U.S. Appl. No. 17/087,116, Jan. 3, 2024, Office Action.
- U.S. Appl. No. 17/087,116, Apr. 24, 2024, Notice of Allowance.