samstars
samstars is a Python library for instance segmentation of individual trees
using high-resolution imagery and lidar-derived rasters.
Installation
For users, install the published library from PyPI:
python -m pip install samstars
samstars supports Python 3.10 through 3.12 on Linux x86-64 and Apple
Silicon macOS. CPU execution is the baseline. Apple Silicon users can install
optional TensorFlow Metal support with python -m pip install "samstars[metal]"; Linux
CUDA users should install a matched PyTorch/Torchvision build using the
official PyTorch selector before
installing samstars.
samstars does not bundle trained model files.
See docs/training.md and
docs/segmentation.md to train a model bundle and run
segmentation.
Developer setup
For local development from a clone:
python -m pip install -e .
Install the test dependencies and run the functional suite with:
python -m pip install -e ".[test]"
python -m pytest
For documentation development:
python -m pip install -e ".[docs]"
mkdocs serve
For platform-specific development environments, use the Conda environment files in this repository:
conda env create -f environment.ubuntu.samstars.yml
conda activate samstars
python -m pip install -e .
On Apple Silicon macOS, use environment.macos.samstars.yml instead. These
environment files provide Python 3.10 CPU baselines; accelerator setup is
described in docs/installation.md.
Notes
- Python 3.10 through 3.12 is supported on Linux x86-64 and Apple Silicon macOS.
- CPU execution is the default; CUDA, MPS, and TensorFlow Metal are opt-in accelerators.
- Segmentation runs require a trained
samstarsmodel bundle. - The intended workflow is to train a model bundle for your data and then use it for segmentation.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file samstars-0.1.0.tar.gz.
File metadata
- Download URL: samstars-0.1.0.tar.gz
- Upload date:
- Size: 52.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acfca106f7b2a3ebd942a7c7dbdf13cba2a6e844c3c8e8e908ef452b684d7126
|
|
| MD5 |
3d2c7e1551bdf7b4856c623308519550
|
|
| BLAKE2b-256 |
8ba0b906197231edf76919a7c6624fb2fee0b5d2d7fe4bc2d4cc5fcda970ae5a
|
Provenance
The following attestation bundles were made for samstars-0.1.0.tar.gz:
Publisher:
workflow.yml on iosefa/samstars
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
samstars-0.1.0.tar.gz -
Subject digest:
acfca106f7b2a3ebd942a7c7dbdf13cba2a6e844c3c8e8e908ef452b684d7126 - Sigstore transparency entry: 2224241621
- Sigstore integration time:
-
Permalink:
iosefa/samstars@1aa714d5988f476d4c1b04d09e429b5581bd99c1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/iosefa
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@1aa714d5988f476d4c1b04d09e429b5581bd99c1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file samstars-0.1.0-py3-none-any.whl.
File metadata
- Download URL: samstars-0.1.0-py3-none-any.whl
- Upload date:
- Size: 57.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3fc2fdc5bb2c724a3311986d1defbd5655979f8433ed31cbf31ceb5657b9a9f
|
|
| MD5 |
252b510a629cb14b114de349227336a4
|
|
| BLAKE2b-256 |
b3624e05e2c1c97dd27d61e842bfdb7900a9338b33292f43337308b0ee2f6473
|
Provenance
The following attestation bundles were made for samstars-0.1.0-py3-none-any.whl:
Publisher:
workflow.yml on iosefa/samstars
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
samstars-0.1.0-py3-none-any.whl -
Subject digest:
d3fc2fdc5bb2c724a3311986d1defbd5655979f8433ed31cbf31ceb5657b9a9f - Sigstore transparency entry: 2224241764
- Sigstore integration time:
-
Permalink:
iosefa/samstars@1aa714d5988f476d4c1b04d09e429b5581bd99c1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/iosefa
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@1aa714d5988f476d4c1b04d09e429b5581bd99c1 -
Trigger Event:
release
-
Statement type: