File size: 1,691 Bytes
de39ff8 c5b3595 de39ff8 c5b3595 de39ff8 c5b3595 de39ff8 c5b3595 de39ff8 c5b3595 de39ff8 c5b3595 de39ff8 c5b3595 | 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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | ---
license: apache-2.0
pipeline_tag: mask-generation
library_name: rlx
tags:
- sam
- segmentation
- rlx
---
# SAM ViT-B + InsectSAM (RLX)
SAM ViT-B meta-layout weights plus InsectSAM safetensors for RLX.
| Field | Value |
|---|---|
| **Hub id** | [`eugenehp/sam-v1`](https://huggingface.co/eugenehp/sam-v1) |
| **Kind** | Converted / re-laid-out for RLX from an upstream checkpoint. |
| **RLX crate** | [`rlx-sam`](https://github.com/MIT-RLX/rlx-models/tree/main/crates/rlx-sam) |
| **Upstream** | https://github.com/facebookresearch/segment-anything |
## Quick start
```bash
hf download eugenehp/sam-v1 --local-dir .
just sam1 -- --weights sam_vit_b_meta.safetensors --device cpu --point 512,512
```
## Contents
`sam_vit_b_meta.safetensors`, `insectsam.safetensors`.
## Do not use as the main runtime pack
These files may be present for historical / staging reasons but are **not** the supported RLX load path:
- `sam-v1.f16.gguf`
Community `*.f16.gguf` / LM-only Q4 packs are format wraps — they are not drop-in replacements for the RLX primary file above.
## Run with RLX
Clone [rlx-models](https://github.com/MIT-RLX/rlx-models), place this repo under `weights/vision/sam-v1` (or pass the path explicitly), then:
```bash
just sam1 -- --weights sam_vit_b_meta.safetensors --device cpu --point 512,512
```
## License
Apache License 2.0 — see `LICENSE`. Inherit upstream terms when redistributing.
Original weights and authorship: https://github.com/facebookresearch/segment-anything
## Maintenance
Cards and LFS attrs are regenerated from the local `weights/` tree in [rlx-models](https://github.com/MIT-RLX/rlx-models) via `python3 scripts/prepare_weights_hf.py`.
|