Quick Start¶
Run tree crown segmentation from a trained samstars model bundle and one small input area.
1) Install the library¶
1 | |
2) Prepare a model bundle¶
samstars does not bundle pretrained model weights.
Train a model bundle for your own data first, or prepare one separately.
See Training for how to produce a bundle directory with samstars.train(...).
3) Segment a small input area¶
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
CPU is the supported baseline. See Installation before
selecting "cuda" or "mps".
Use storage="persistent" when you want to keep proposals, prep artifacts, and other run state under out.
Use storage="temp" when you only want final outputs left in out.
Outputs¶
- crown polygons:
/abs/path/run_dir/segmentation_run/crowns/crowns.gpkg
Large rasters¶
See Large Raster Runs.