Update README.md
Browse files
README.md
CHANGED
|
@@ -3,6 +3,9 @@ license: apache-2.0
|
|
| 3 |
---
|
| 4 |
# Segment Anything
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
This repository is the mirror of the official [Segment Anything repository](https://github.com/facebookresearch/segment-anything), together with the model weights. We also provide instructions on how to easily download the model weights.
|
| 7 |
|
| 8 |
**[Meta AI Research, FAIR](https://ai.facebook.com/research/)**
|
|
@@ -31,7 +34,7 @@ Then let's say you want to download the file `checkpoints/sam_vit_b_01ec64.pth`,
|
|
| 31 |
```python
|
| 32 |
from huggingface_hub import hf_hub_download
|
| 33 |
|
| 34 |
-
chkpt_path = hf_hub_download("
|
| 35 |
```
|
| 36 |
|
| 37 |
## Installation
|
|
|
|
| 3 |
---
|
| 4 |
# Segment Anything
|
| 5 |
|
| 6 |
+
**NEW** Segment Anythin now officially supported in `transformers`! Check out the official docs: https://huggingface.co/docs/transformers/main/en/model_doc/sam
|
| 7 |
+
|
| 8 |
+
|
| 9 |
This repository is the mirror of the official [Segment Anything repository](https://github.com/facebookresearch/segment-anything), together with the model weights. We also provide instructions on how to easily download the model weights.
|
| 10 |
|
| 11 |
**[Meta AI Research, FAIR](https://ai.facebook.com/research/)**
|
|
|
|
| 34 |
```python
|
| 35 |
from huggingface_hub import hf_hub_download
|
| 36 |
|
| 37 |
+
chkpt_path = hf_hub_download("ybelkada/segment-anything", "checkpoints/sam_vit_b_01ec64.pth")
|
| 38 |
```
|
| 39 |
|
| 40 |
## Installation
|