Skip to main content

Deforestation segmentation from Sentinel tiles using a U-Net exported to ONNX.

Project description

Deforestation Detection (ONNX)

CLI + Python package to run deforestation segmentation on 512x512 Sentinel tiles using a U-Net exported to ONNX.

Install

pip install deforestation-detection

Download model

Get the ONNX model from Hugging Face: <YOUR_LINK_HERE>

Predict

deforestation predict --onnx path/to/unet_deforestation.onnx --tile path/to/tile.tif --out pred_mask.npy

CPU-only by default (onnxruntime) GPU support via pip install deforestation-detection[gpu] (onnxruntime-gpu)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deforestation_detection-0.1.1.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deforestation_detection-0.1.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file deforestation_detection-0.1.1.tar.gz.

File metadata

  • Download URL: deforestation_detection-0.1.1.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for deforestation_detection-0.1.1.tar.gz
Algorithm Hash digest
SHA256 33690f61ed0b48f474718a8e19fbbc6ac9247eeaafa308eae5ca25e5b7761713
MD5 6c24ac6a4aa16fd2a88c108e18d029ad
BLAKE2b-256 7a400cc294dbb239eef71905e4896480833f64ca2fbcf966889e39e60b5f71b0

See more details on using hashes here.

File details

Details for the file deforestation_detection-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for deforestation_detection-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 666e8ce7a1e4dc8eeaac19264856ddef6cf62674e3d61af8d10402f7fa0c21ba
MD5 3ca9c33191203923285a2818f629ebd5
BLAKE2b-256 6eeeeedf0860b8abadd62319b6be3850917c86fffd21c4897a525304f56a8a00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page