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

Invalidate hub-wide caches on deletions and overwrites #7525

Merged
merged 8 commits into from
Sep 27, 2024
Prev Previous commit
Next Next commit
Update examples/python/face_tracking/face_tracking.py
Co-authored-by: Andreas Reich <andreas@rerun.io>
  • Loading branch information
teh-cmc and Wumpf authored Sep 27, 2024
commit 09ad22aaf82bbe19c2f17c1d397201e24698a4e8
9 changes: 8 additions & 1 deletion examples/python/face_tracking/face_tracking.py
Original file line number Diff line number Diff line change
@@ -20,7 +20,14 @@
import tqdm
from mediapipe.tasks.python import vision

# If set, log everything as static
# If set, log everything as static.
#
# Generally, the Viewer accumulates data until its set memory budget at which point it will
# remove the oldest data from the recording (see https://rerun.io/docs/howto/limit-ram)
# By instead logging data as static, no data will be accumulated over time since previous
# data is overwritten.
# Naturally, the drawback of this is that there's no history of previous data sent to the viewer,
# as well as no timestamps, making the Viewer's timeline effectively inactive.
global ALL_STATIC
ALL_STATIC: bool = False

Loading