Back to Vision

RAFT

docs/source/models/raft.rst

0.26.0696 B
Original Source

RAFT

.. currentmodule:: torchvision.models.optical_flow

The RAFT model is based on the RAFT: Recurrent All-Pairs Field Transforms for Optical Flow <https://arxiv.org/abs/2003.12039>__ paper.

Model builders

The following model builders can be used to instantiate a RAFT model, with or without pre-trained weights. All the model builders internally rely on the torchvision.models.optical_flow.RAFT base class. Please refer to the source code <https://github.com/pytorch/vision/blob/main/torchvision/models/optical_flow/raft.py>_ for more details about this class.

.. autosummary:: :toctree: generated/ :template: function.rst

raft_large
raft_small