https://github.com/cvhub520/sam-hq
This project showcases the deployment of the encoder and decoder model using ONNXRUNTIME in Python.
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.6%) to scientific vocabulary
Repository
This project showcases the deployment of the encoder and decoder model using ONNXRUNTIME in Python.
Basic Info
- Host: GitHub
- Owner: CVHub520
- License: apache-2.0
- Language: Python
- Default Branch: main
- Size: 47.5 MB
Statistics
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Segment Anything in High Quality
Segment Anything in High Quality
NeurIPS 2023
ETH Zurich & HKUST
ONNX export
The HQ-SAM's heavy encoder and lightweight mask decoder can be exported to ONNX format so that it can be run in any environment that supports ONNX runtime. Export the model with run.sh
[Option-1]
You can see the example notebook for details on how to combine image preprocessing via HQ-SAM's backbone with mask prediction using the ONNX model. It is recommended to use the latest stable version of PyTorch for ONNX export.
[Option-2]
If you are targeting a deployment scenario, it's recommended refer to the example in scripts/main.py. Similarly, you can find the execution command in the run.sh script.
OnnxRuntime Demo Results
Citation
If you find HQ-SAM useful in your research or refer to the provided baseline results, please star :star: this repository and consider citing :pencil::
@article{sam_hq,
title={Segment Anything in High Quality},
author={Ke, Lei and Ye, Mingqiao and Danelljan, Martin and Liu, Yifan and Tai, Yu-Wing and Tang, Chi-Keung and Yu, Fisher},
journal = {arXiv:2306.01567},
year = {2023}
}
Owner
- Name: CVHub
- Login: CVHub520
- Kind: user
- Company: CVHub
- Website: https://github.com/CVHub520
- Repositories: 10
- Profile: https://github.com/CVHub520
Welcome to CVHub!
GitHub Events
Total
Last Year
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| cvhub | c****b@1****m | 9 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0