Samurai: Adapting Segment Anything Model for Zero-Shot Visual Tracking
yangchris11.github.io
yangchris11.github.io
I get why, but it still seems a shame that there's all this cool ML research that will only make it into actual products in 10 years when someone with the resources of Adobe rewrites it in something other than Python.
If the inference code (TensorRT, Tensorflow, Pytorch, whatever) is fast, then what does it matter what the glue code is written in?
Python has become the common vulgate as a trade language between various disciplines, and I'm all 'bout that.
I've only been working in computer vision for 10-ish years, but even when I started, most research projects were in Matlab. The fact that universities have shifted away from Matlab and into Python is a breath of fresh air, lemme' tell ya'.
I guess ignorance is bliss once someone has done the work for you of getting it all down into TRT.
From Apple dictionary:
"the principal Latin version of the Bible, prepared mainly by St. Jerome in the late 4th century, and (as revised in 1592) adopted as the official text for the Roman Catholic Church."
Think about deploying this in a desktop application. You aren't going to ship a Docker container there.
While dealing with CUDA and GPUs on servers is never a joy, deploying fully contained Rust binaries instead of a morass of python scripts has improved the situation for me significantly.
Getting Samurai running on Candle shouldn’t be that large of an undertaking. I believe there’s already a SAM implementation.
"SAMURAI: Adapting Segment Anything Model for Zero-Shot Visual Tracking with Motion-Aware Memory"
It's the memory part that I find so impressive in the demo videos!