facebookresearch / facebookresearch/sam2

Is it possible to use Nvidia TensorRT to accelerate SAM2 inference with C++ implement?

Open
#284 16 comments 3 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
19.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I`m not quite familiar with the Transformer model. There are more steps to do than other model with the Encoder and Decoder. Such as the last encoder block output needs to be as the input for the next encoder block.etc.
Does anyone has an example of using C++ with Nvidia TensorRT?

To handle Run Segment Anything Model 2 on a live video stream ,i have follow the link [segment-anything-2-real-time](https://github.com/Gy920/segment-anything-2-real-time). I need to implement the functionality using C++ with Nvidia TensorRT for low latency.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.