google-deepmind / tapnet

Tracking Any Point (TAP)
https://deepmind-tapir.github.io/blogpost.html
Apache License 2.0
1.31k stars 124 forks source link

Tapet colab demo can't select points manually #123

Open Icecream-blue-sky opened 4 weeks ago

Icecream-blue-sky commented 4 weeks ago

In https://colab.research.google.com/github/deepmind/tapnet/blob/master/colabs/tapir_demo.ipynb, run "Select Any Points at Any Frame" will output nothing. image But in https://colab.research.google.com/github/deepmind/tapnet/blob/master/colabs/causal_tapir_demo.ipynb, it's normal. image Why?

yangyi02 commented 4 weeks ago

What if you remove the last line: print(select_points) in the first cell?

Icecream-blue-sky commented 4 weeks ago

What if you remove the last line: print(select_points) in the first cell?

It results the same. The reason I added this is to see if the above code is executed.

yangyi02 commented 3 weeks ago

Ok, I figure out the problem. Thanks for reporting the bug.

It is due to we add matplotlib.use('Agg') in the import cell. For your short term solution, please try comment it and see if the select points interface jump out.

yangyi02 commented 3 weeks ago

The tapir_demo.ipynb, is updated, please try again see if the select points interface can work.

Thanks.