News for hackers. Stuff that matters.
Re:Segment Anything Demo by Meta AI by joshvm on Thursday April 06, 2023 @07:13AM (#35466802)
You can download the model yourself on GitHub and run it locally. The biggest one is about 2.5GB and certainly took some time on my M1 CPU. I couldn't get mps to run as the tensor dtypes are incompatible (could be a quick fix).

The small ONNX model just decodes the output of the larger model into the masks etc. But the bulk of the "computation" is done by a much larger vision transformer somewhere else. It really needs a GPU with a fair amount of memory to run anywhere close to real-time.

There are no comments on this comment yet.