deepmind / optical-flow-perceiver

huggingface.co
Total runs: 819
24-hour runs: 0
7-day runs: -34
30-day runs: 320
Model's Last Updated: August 26 2024

Introduction of optical-flow-perceiver

Model Details of optical-flow-perceiver

Perceiver IO for optical flow

Perceiver IO model trained on AutoFlow . It was introduced in the paper Perceiver IO: A General Architecture for Structured Inputs & Outputs by Jaegle et al. and first released in this repository .

Optical flow is a decades-old open problem in computer vision. Given two images of the same scene (e.g. two consecutive frames of a video), the task is to estimate the 2D displacement for each pixel in the first image. This has many broader applications, such as navigation and visual odometry in robots, estimation of 3D geometry, and even to aid transfer of more complex, learned inference such as 3D human pose estimation from synthetic to real images.

Disclaimer: The team releasing Perceiver IO did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description

Perceiver IO is a transformer encoder model that can be applied on any modality (text, images, audio, video, ...). The core idea is to employ the self-attention mechanism on a not-too-large set of latent vectors (e.g. 256 or 512), and only use the inputs to perform cross-attention with the latents. This allows for the time and memory requirements of the self-attention mechanism to not depend on the size of the inputs.

To decode, the authors employ so-called decoder queries, which allow to flexibly decode the final hidden states of the latents to produce outputs of arbitrary size and semantics. For optical flow, the output is a tensor containing the predicted flow of shape (batch_size, height, width, 2).

drawing

Perceiver IO architecture.

As the time and memory requirements of the self-attention mechanism don't depend on the size of the inputs, the Perceiver IO authors can train the model on raw pixel values, by concatenating a pair of images and extracting a 3x3 patch around each pixel.

The model obtains state-of-the-art results on important optical flow benchmarks, including Sintel and KITTI .

Intended uses & limitations

You can use the raw model for predicting optical flow between a pair of images. See the model hub to look for other versions on a task that may interest you.

How to use

We refer to the tutorial notebook regarding using the Perceiver for optical flow.

Training data

This model was trained on AutoFlow , a synthetic dataset consisting of 400,000 annotated image pairs.

Training procedure
Preprocessing

Frames are resized to a resolution of 368x496. The authors concatenate the frames along the channel dimension and extract a 3x3 patch around each pixel (leading to 3x3x3x2 = 54 values for each pixel).

Pretraining

Hyperparameter details can be found in Appendix E of the paper .

Evaluation results

The model achieves a average end-point error (EPE) of 1.81 on Sintel.clean, 2.42 on Sintel.final and 4.98 on KITTI. For evaluation results, we refer to table 4 of the paper .

BibTeX entry and citation info
@article{DBLP:journals/corr/abs-2107-14795,
  author    = {Andrew Jaegle and
               Sebastian Borgeaud and
               Jean{-}Baptiste Alayrac and
               Carl Doersch and
               Catalin Ionescu and
               David Ding and
               Skanda Koppula and
               Daniel Zoran and
               Andrew Brock and
               Evan Shelhamer and
               Olivier J. H{\'{e}}naff and
               Matthew M. Botvinick and
               Andrew Zisserman and
               Oriol Vinyals and
               Jo{\~{a}}o Carreira},
  title     = {Perceiver {IO:} {A} General Architecture for Structured Inputs {\&}
               Outputs},
  journal   = {CoRR},
  volume    = {abs/2107.14795},
  year      = {2021},
  url       = {https://arxiv.org/abs/2107.14795},
  eprinttype = {arXiv},
  eprint    = {2107.14795},
  timestamp = {Tue, 03 Aug 2021 14:53:34 +0200},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2107-14795.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

Runs of deepmind optical-flow-perceiver on huggingface.co

819
Total runs
0
24-hour runs
-129
3-day runs
-34
7-day runs
320
30-day runs

More Information About optical-flow-perceiver huggingface.co Model

More optical-flow-perceiver license Visit here:

https://choosealicense.com/licenses/apache-2.0

optical-flow-perceiver huggingface.co

optical-flow-perceiver huggingface.co is an AI model on huggingface.co that provides optical-flow-perceiver's model effect (), which can be used instantly with this deepmind optical-flow-perceiver model. huggingface.co supports a free trial of the optical-flow-perceiver model, and also provides paid use of the optical-flow-perceiver. Support call optical-flow-perceiver model through api, including Node.js, Python, http.

optical-flow-perceiver huggingface.co Url

https://huggingface.co/deepmind/optical-flow-perceiver

deepmind optical-flow-perceiver online free

optical-flow-perceiver huggingface.co is an online trial and call api platform, which integrates optical-flow-perceiver's modeling effects, including api services, and provides a free online trial of optical-flow-perceiver, you can try optical-flow-perceiver online for free by clicking the link below.

deepmind optical-flow-perceiver online free url in huggingface.co:

https://huggingface.co/deepmind/optical-flow-perceiver

optical-flow-perceiver install

optical-flow-perceiver is an open source model from GitHub that offers a free installation service, and any user can find optical-flow-perceiver on GitHub to install. At the same time, huggingface.co provides the effect of optical-flow-perceiver install, users can directly use optical-flow-perceiver installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

optical-flow-perceiver install url in huggingface.co:

https://huggingface.co/deepmind/optical-flow-perceiver

Url of optical-flow-perceiver

optical-flow-perceiver huggingface.co Url

Provider of optical-flow-perceiver huggingface.co

deepmind
ORGANIZATIONS

Other API from deepmind