]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
sam : support box prompt (#1206)
authorTaylor <redacted>
Thu, 8 May 2025 15:56:59 +0000 (10:56 -0500)
committerGitHub <redacted>
Thu, 8 May 2025 15:56:59 +0000 (18:56 +0300)
commit153e8bcb62811d608f5cddc13a8bd1c5de7eab25
treed75013aa1e2caa68b7bc2b53514c64446b7c467a
parent726dbd0636ae954ba3805c6e1fe6ecc69f851c5b
sam : support box prompt (#1206)

* SAM: parse box prompt

* support box prompt

* sam: rename main.cpp to sam.cpp

* pass sam_prompt as const &

* support single mask output (default multimask)

* Update examples/sam/sam.cpp

Co-authored-by: Georgi Gerganov <redacted>
* Update examples/sam/sam.cpp

Co-authored-by: Georgi Gerganov <redacted>
* Update examples/sam/sam.cpp

Co-authored-by: Georgi Gerganov <redacted>
* Update examples/sam/sam.cpp

Co-authored-by: Georgi Gerganov <redacted>
* Update examples/sam/sam.cpp

Co-authored-by: Georgi Gerganov <redacted>
* removed debug print

* test sam example: box prompt and single mask output

---------

Co-authored-by: Georgi Gerganov <redacted>
ci/run.sh
examples/sam/CMakeLists.txt
examples/sam/main.cpp [deleted file]
examples/sam/sam.cpp [new file with mode: 0644]