Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run TAPIR Inference without resizing the video #39

Closed
vrk7 opened this issue Aug 1, 2023 · 3 comments
Closed

Run TAPIR Inference without resizing the video #39

vrk7 opened this issue Aug 1, 2023 · 3 comments

Comments

@vrk7
Copy link

vrk7 commented Aug 1, 2023

Hi tEAM,

Can the inference be done without resizing the video frames?

@cdoersch
Copy link
Collaborator

cdoersch commented Aug 1, 2023

Yes, TAPIR can be run on any resolution; internally it will perform its initialization on 256x256 and then refine on progressively higher resolution. It should work out-of-the-box in our colab demo.

@vrk7
Copy link
Author

vrk7 commented Aug 1, 2023

My issue is, i have annotation of segments in COCO format. When i converted this into 2D points, should I have the points according to the original frame or reduced frame?

@cdoersch
Copy link
Collaborator

cdoersch commented Aug 1, 2023

They should be scaled relative to the size of the video that you input into TAPIR. I.e. if its 512x512, your points should be in the range [0,512].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants