Spaces:
Runtime error
Runtime error
cleaned up readme slightly
Browse files
app.py
CHANGED
|
@@ -664,9 +664,6 @@ def track(
|
|
| 664 |
|
| 665 |
video_input = torch.tensor(video_input).unsqueeze(0).to(dtype)
|
| 666 |
print("1 torch.cuda.memory_allocated: %.1fGB"%(torch.cuda.memory_allocated(0)/1024/1024/1024))
|
| 667 |
-
|
| 668 |
-
# model = torch.hub.load("facebookresearch/co-tracker", "cotracker3_online")
|
| 669 |
-
# model = model.to(device)
|
| 670 |
|
| 671 |
from nets.alltracker import Net
|
| 672 |
model = Net(16)
|
|
@@ -878,9 +875,9 @@ with gr.Blocks() as demo:
|
|
| 878 |
gr.Markdown("# ⚡ AllTracker: Efficient Dense Point Tracking at High Resolution")
|
| 879 |
gr.Markdown("<div style='text-align: left;'> \
|
| 880 |
<p>Welcome to <a href='https://alltracker.github.io/' target='_blank'>AllTracker</a>! This demo runs our model to perform all-pixel tracking in a video of your choice.</p> \
|
| 881 |
-
<p>To get started, simply upload your <b>.mp4</b> video, or
|
| 882 |
-
<p>After picking a video, click \"Submit\" to load the frames into the app, and optionally choose a frame (using the slider), and then click \"Track\".</p> \
|
| 883 |
-
<p>For full info on how this works, check out our <a href='https://github.com/aharley/alltracker/' target='_blank'>GitHub
|
| 884 |
<p>Initial code for this Gradio app came from LocoTrack and CoTracker -- big thanks to those authors!</p> \
|
| 885 |
</div>"
|
| 886 |
)
|
|
|
|
| 664 |
|
| 665 |
video_input = torch.tensor(video_input).unsqueeze(0).to(dtype)
|
| 666 |
print("1 torch.cuda.memory_allocated: %.1fGB"%(torch.cuda.memory_allocated(0)/1024/1024/1024))
|
|
|
|
|
|
|
|
|
|
| 667 |
|
| 668 |
from nets.alltracker import Net
|
| 669 |
model = Net(16)
|
|
|
|
| 875 |
gr.Markdown("# ⚡ AllTracker: Efficient Dense Point Tracking at High Resolution")
|
| 876 |
gr.Markdown("<div style='text-align: left;'> \
|
| 877 |
<p>Welcome to <a href='https://alltracker.github.io/' target='_blank'>AllTracker</a>! This demo runs our model to perform all-pixel tracking in a video of your choice.</p> \
|
| 878 |
+
<p>To get started, simply upload your <b>.mp4</b> video, or select one of the example videos. The shorter the video, the faster the processing. We recommend submitting videos under 20 seconds long.</p> \
|
| 879 |
+
<p>After picking a video, click \"Submit\" to load the frames into the app, and optionally choose a query frame (using the slider), and then click \"Track\".</p> \
|
| 880 |
+
<p>For full info on how this works, check out our <a href='https://github.com/aharley/alltracker/' target='_blank'>GitHub repo</a>, or <a href='https://arxiv.org/abs/2506.07310' target='_blank'>paper</a>.</p> \
|
| 881 |
<p>Initial code for this Gradio app came from LocoTrack and CoTracker -- big thanks to those authors!</p> \
|
| 882 |
</div>"
|
| 883 |
)
|