Shortcuts

RAFT

The RAFT model is based on the RAFT: Recurrent All-Pairs Field Transforms for Optical Flow 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 for more details about this class.

raft_large(*[, weights, progress])

RAFT model from RAFT: Recurrent All Pairs Field Transforms for Optical Flow.

raft_small(*[, weights, progress])

RAFT "small" model from RAFT: Recurrent All Pairs Field Transforms for Optical Flow.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources