Spaces:
Runtime error
Runtime error
Commit History
-
Use clean_crowns with built-in containment check, drop remove_contained_crowns
clean_crowns now handles nested crowns natively — most confident wins. post_clean fills gaps left when a large less-confident crown is replaced by a small confident one. No separate removal step needed. Pins detectree2 to 1af7f9f. Co-authored-by: Cursor <cursoragent@cursor.com>ce8e246 -
Add remove_contained_crowns as final cleanup step
Adds a final pass after post_clean that removes small crowns nested inside larger ones. The core clean_crowns pipeline is untouched -- confidence still wins. This just cleans up visual clutter in the final output. Pins detectree2 to fdb3973. Co-authored-by: Cursor <cursoragent@cursor.com>26a4e9a -
Pin detectree2 to a02009d with containment-based crown cleaning
Picks up the new containment_threshold parameter in clean_crowns and post_clean that removes small crowns nested inside larger ones. Co-authored-by: Cursor <cursoragent@cursor.com>c4e721b -
Add post_clean step to reduce crowns-within-crowns artefacts
Adds an iterative post_clean gap-filling pass after clean_crowns. This fills in missed crowns while removing nested/overlapping duplicates that looked poor in the demo output. Pins detectree2 to commit a8a19da with the optimised post_clean. Co-authored-by: Cursor <cursoragent@cursor.com>6db9c74 -
Enable full_coverage tiling for complete edge prediction
Uses the new full_coverage=True parameter in tile_data so that edge pixels of the input raster are no longer missed during inference. Also pins detectree2 to commit e241c71 which adds this feature. Co-authored-by: Cursor <cursoragent@cursor.com>096a852 -
UX improvements: example tile, friendly errors, cleanup, processing note
1. Bundled example GeoTIFF (Danum Valley) with "Load example" button 2. User-friendly error messages (no internal paths exposed) 3. Temp directory cleanup after each prediction 4. Processing time estimate shown above inputs 5. Manage Weights tab hidden unless DTR2_SHOW_ADMIN env var is set Co-authored-by: Cursor <cursoragent@cursor.com>381f62e
-
Pin detectree2 to commit 49882f8 with all Python 3.8 fixes
Co-authored-by: Cursor <cursoragent@cursor.com>40f19a9 -
Rebuild to pick up removeprefix fix from detectree2
Co-authored-by: Cursor <cursoragent@cursor.com>e05e637 -
Fix Docker build: bust cache for detectree2 install, remove unused weights COPY
- Changed comment to bust Docker layer cache so it picks up the latest detectree2 with from __future__ import annotations fix - Removed COPY weights /weights (app downloads from Zenodo to /data/weights) - Pin to @master branch explicitly Co-authored-by: Cursor <cursoragent@cursor.com>937ee01
-
docker fix
699e27b -
fix
84f1e4c -
docker fix
838fc42 -
fix
5775ce0 -
fix
82a8552 -
docker fix
4e8dc69 -
docker trim
43761d7
-
fix
b3b2242
-
fix
76c7b4d -
fix
ff76b37 -
redo
9021e76 -
redo
0c8976a
-
docker
aaee31d -
docker
0ce14f6 -
docker
a514f12 -
docker
b434f1f -
docker
4fe26a1 -
docker
dfb2905 -
docker
cb0dba9 -
docker update
13da334 -
change to docker
76ce55e