End-to-end finetuning of resnet18-classification on Banepa Municipality, Nepal
OAM imagery with binary building/no_building labels derived from OSM segmentation data.
- zenml
- Sample data in
data/sample/(OAM tiles + OSM labels, including pre-generatedclassification_labels.csv)
uv sync --group example --group local
just setup
uv run python examples/classification/run.pyThe script runs the full workflow in one execution:
- Initialize ZenML and local STAC context
- Register the base model item
- Register the dataset item
- Finetune the model
- Promote the finetuned model
- Run prediction on sample imagery
FAIR_FORCE_CPU=1 uv run python examples/classification/run.py| Artifact | Location |
|---|---|
| STAC items | stac_catalog/ |
| Trained artifacts | artifacts/ |
| Predictions | data/sample/predict/predictions/*.csv |