Acly commited on
Commit
dad6574
·
1 Parent(s): bd8e526

Add some content to readme

Browse files
Files changed (1) hide show
  1. README.md +18 -6
README.md CHANGED
@@ -1,19 +1,31 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
3
  ---
4
  # GGUF models for MobileSAM
5
 
6
- * Original repository: [MobileSAM (Github)](https://github.com/ChaoningZhang/MobileSAM)
7
- * Original weights: [MobileSam (HuggingFace)](https://huggingface.co/dhkim2810/MobileSAM)
 
 
 
 
 
8
 
9
  ## Run
10
 
 
 
11
  ```sh
12
- vision-cli -m MobileSAM-F16.gguf -i input.png -p 256 480 -o mask.png --composite output.png
13
  ```
14
 
15
  ## Models
16
 
17
- | Model | Description |
18
- |-|-|
19
- | MobileSAM-F16.gguf | Encoder + decoder, fused batch norm, NHWC memory layout, float16 |
 
1
  ---
2
  license: apache-2.0
3
+ base_model: dhkim2810/MobileSAM
4
+ tags:
5
+ - mask-generation
6
+ - vision.cpp
7
+ pipeline_tag: image-segmentation
8
  ---
9
  # GGUF models for MobileSAM
10
 
11
+ MobileSAM is a model for image segmentation. It generates object masks from
12
+ point or box prompts. The weights in this repository are converted for
13
+ lightweight inference on consumer hardware with
14
+ [vision.cpp](https://github.com/Acly/vision.cpp).
15
+
16
+ * Original repository: [ChaoningZhang/MobileSAM (Github)](https://github.com/ChaoningZhang/MobileSAM)
17
+ * Original weights: [dhkim2810/MobileSAM (HuggingFace)](https://huggingface.co/dhkim2810/MobileSAM)
18
 
19
  ## Run
20
 
21
+ Example inference with [vision.cpp](https://github.com/Acly/vision.cpp):
22
+
23
  ```sh
24
+ vision-cli sam -m MobileSAM-F16.gguf -i input.png -p 256 480 -o mask.png --composite output.png
25
  ```
26
 
27
  ## Models
28
 
29
+ | Model | Description |
30
+ | ---------------------------------------- | ---------------------------------------------------------------- |
31
+ | [MobileSAM-F16.gguf](MobileSAM-F16.gguf) | Encoder + decoder, fused batch norm, NHWC memory layout, float16 |