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

use single point prompt mask decoder slow than pytorch, how to solve this problem? #5

Open
stihuangyuan opened this issue Jun 28, 2023 · 1 comment

Comments

@stihuangyuan
Copy link

No description provided.

@AlessandroMondin00
Copy link

AlessandroMondin00 commented Jul 5, 2023

I have runned the same experiment too: with a Macbook Air M2 it takes the following times to extract image embedding with ViT-L (sam_vit_h_4b8939):

  1. ~36 seconds with pt weights
  2. ~42 seconds with onnx encoder extracted with samexporter.export_encoder
  3. ~ 39 seconds with onnx encoder quantized extracted with samexporter.export_encoder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants