raft.rst 697 B

12345678910111213141516171819202122232425
  1. RAFT
  2. ====
  3. .. currentmodule:: torchvision.models.optical_flow
  4. The RAFT model is based on the `RAFT: Recurrent All-Pairs Field Transforms for
  5. Optical Flow <https://arxiv.org/abs/2003.12039>`__ paper.
  6. Model builders
  7. --------------
  8. The following model builders can be used to instantiate a RAFT model, with or
  9. without pre-trained weights. All the model builders internally rely on the
  10. ``torchvision.models.optical_flow.RAFT`` base class. Please refer to the `source
  11. code
  12. <https://github.com/pytorch/vision/blob/main/torchvision/models/optical_flow/raft.py>`_ for
  13. more details about this class.
  14. .. autosummary::
  15. :toctree: generated/
  16. :template: function.rst
  17. raft_large
  18. raft_small