facebookresearch / facebookresearch/co-tracker

Efficency of V2 and adding more points?

Open
#67 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
5.1k
Forks
389
PR merge metrics
No merged PRs in 30d

Description

Hey,

First of all, great work. I really enjoyed reading the paper and going over the code, too. There are two things that I want to understand:

1. You mentioned that cotracker2 is more efficient than cotracker1. Could you help me understand where that efficiency is coming from? The one place I found a difference was in the transformer to compute the deltas. Looking closely at it, the transformers in v1 and v2 are based on space-time attention; v2 also uses some virtual tracks. So, since the tokens are increasing, they should be heavier on the memory. If true, then how is the new block more efficient? Am I missing something?

2. In my current use case. I want to add more points as the video progresses, but only in those regions where _no visible_ points are found. One way is to add more query points at certain intervals and remove the redundant points through post-processing, but this would be highly inefficient. Is there a smarter way of going about it?

Contributor guide

Open the contributing guide

Research direction

Start by reading the referenced paper and comparing the CoTracker v1 and v2 transformer implementations to understand the claimed efficiency difference. Then inspect how point queries are added and tracked over time; the issue does not define an acceptance test or a clear completion condition for either question.

Written by the indexing model from the issue text.

Assessment

Domain
computer-vision, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.