SysCV / sam-hq

Segment Anything in High Quality [NeurIPS 2023]
https://arxiv.org/abs/2306.01567
Apache License 2.0
3.73k stars 224 forks source link

Will a fast version be released like segment-anything-fast? #112

Open yatengLG opened 11 months ago

yatengLG commented 11 months ago

Hello, i'm the contributor of project [ISAT](). Your project sam-hq give me more help, it's a great work.

The pytorch-labs has recently released a new project segment-anything-fast, this version is faster than SAM. Will you release a faster version of sam-hq?

lkeab commented 11 months ago

please check the Light HQ-SAM here: https://github.com/SysCV/sam-hq?tab=readme-ov-file#light-hq-sam-vs-mobilesam-on-coco

yatengLG commented 11 months ago

That's not my means.I know sam-hq-tiny. This is a light model.

I am currently learning some new features of PyTorch 2.0. This project segment-anything-fast is released by pytorch-labs to show these features of pytorch2.0. This project use some techniques that reduce forward time cost and memory without changing the model structure and without retraining.

under lines are copy from pytorch-labs:

As announced during the PyTorch Developer Conference 2023, the PyTorch team rewrote Meta’s Segment Anything (“SAM”) Model resulting in 8x faster code than the original implementation, with no loss of accuracy, all using native PyTorch optimizations. We leverage a breadth of new PyTorch features:

Maybe this project is more focused on engineering projects rather than academic research, so I'm not sure if you're interested in this.

azulika commented 9 months ago

any update on this?