Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ conda install -c conda-forge groundingdino-py segment-anything-fast

### Install SAM 3 on Windows

It is a bit tricky to install SAM 3 on Windows. Run the following commands on Windows to install SamGeo:
Run the following commands to install SamGeo using `conda`:

```bash
conda create -n geo python=3.12
Expand All @@ -110,6 +110,13 @@ pip install "segment-geospatial[samgeo3]"
pip install triton-windows ipykernel jupyterlab
```

`uv` based installation
```bash
uv venv --python=3.16
uv pip install torch torchvision --index-url https://download.pytorch.org/whl/cu128
uv pip install segment-geospatial[samgeo3]
```

## Examples

- [Segmenting remote sensing imagery](https://samgeo.gishub.org/examples/satellite)
Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,12 @@ samgeo3 = [
"buildingregulariser",
"leafmap",
"localtileserver",
"psutil; platform_system == 'Windows'",
"spacy",
"triton>=3.5.1; sys_platform == 'linux'",
"triton-windows>=3.3.0.post19; sys_platform == 'windows'",
"transformers>=5.0.0rc0",
"tokenizers==0.22.1",
"triton; platform_system == 'Linux'",
"triton-windows; platform_system == 'Windows'",
"transformers",
"xarray"
]
text = [
Expand Down
Loading