File size: 1,034 Bytes
80cb8d3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---

license: apache-2.0
library_name: libreyolo
tags:
  - mask-generation
  - image-segmentation
  - sam
---


# LibreSAMbase

Segment Anything (SAM-1) ViT-Base, mirrored for LibreYOLO.

## Source

Mirrored from [facebook/sam-vit-base](https://huggingface.co/facebook/sam-vit-base).
Copyright (c) Meta Platforms, Inc. and affiliates.
Licensed under the Apache License, Version 2.0.

## Modifications

None. The weights and configuration are Meta's, byte for byte. This repository
exists so LibreYOLO can serve them from its own organisation rather than
depending on a third-party repository remaining available.

Upstream also publishes `pytorch_model.bin` (a duplicate of the safetensors
weights) and `tf_model.h5`. Neither is mirrored, because LibreYOLO loads the
safetensors file.

## Usage

```python

from libreyolo import LibreYOLO



model = LibreYOLO("LibreSAMbase.pt")

```

## License

Apache License 2.0. See the [`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE)
files in this repository.