tamserve 开源实时视频追踪服务,成本较 Meta 代码降低约一半
I built tamserve to make real-time video tracking 2x cheaper [P]
作者发布开源项目 tamserve,让 SAM 2 系列追踪器(SAM 2.1、EdgeTAM)在多路摄像头下共享同一份模型副本并保持内存平稳,可无限期运行,开箱速度最高为 Meta 代码的 3.8 倍且精度相同。
SAM 2-style trackers (SAM 2.1, EdgeTAM) are more accurate and flexible than box trackers: point at anything once and get its exact outline on every frame. But on live cameras they're expensive, and Meta's code keeps every frame it sees, so it runs out of GPU memory within minutes.
tamserve shares one copy of the model across all your cameras and keeps memory flat, so it runs indefinitely, up to 3.8x faster than Meta's code out of the box, with the same accuracy.
Cost per camera per day on one RTX 4090 (from how many cameras each fits on one GPU):
- 30 fps: $1.07 vs $2.40 with Meta's code
- 10 fps: $0.36 vs $0.74
- 5 fps: $0.18 vs $0.44
Add or drop objects on any frame, cameras reconnect on their own, and it scales across GPUs. Free and open source.
Feedback welcome, and a star helps if you like it!
submitted by /u/Chunkymunkey642069
[link] [留言]
来源:r/MachineLearning · reddit.com