Add Model Card README with YAML metadata to repository root
Browse files
README.md
CHANGED
|
@@ -18,7 +18,7 @@ Developed by **Farmers for Forests**, this model is optimized to work with SAHI
|
|
| 18 |
|
| 19 |
---
|
| 20 |
|
| 21 |
-
##
|
| 22 |
|
| 23 |
This guide explains how to run the `treelens_ortho_inference.py` script step-by-step. The script is structured with `# %%` cell markers, meaning you can easily open it in Google Colab (by renaming it to `.ipynb` or uploading it directly) or run it in VS Code as interactive cells.
|
| 24 |
|
|
@@ -74,7 +74,7 @@ Processes the orthomosaics, runs sliced inference, plots predictions, and saves
|
|
| 74 |
|
| 75 |
---
|
| 76 |
|
| 77 |
-
##
|
| 78 |
Once the script runs successfully, the following files will be saved in your `save_dir` (Google Drive root by default):
|
| 79 |
1. **`{basename}_pred.png`**: The orthomosaic image with visual bounding boxes drawn around all detected trees.
|
| 80 |
2. **`{basename}.xml`**: Standard Pascal VOC XML annotation file.
|
|
@@ -88,7 +88,7 @@ Once the script runs successfully, the following files will be saved in your `sa
|
|
| 88 |
|
| 89 |
---
|
| 90 |
|
| 91 |
-
##
|
| 92 |
If you wish to run this script outside of Colab (e.g. locally in a terminal):
|
| 93 |
1. Install Python 3.8+ and install all dependencies:
|
| 94 |
```bash
|
|
|
|
| 18 |
|
| 19 |
---
|
| 20 |
|
| 21 |
+
## How to Run the Inference Script
|
| 22 |
|
| 23 |
This guide explains how to run the `treelens_ortho_inference.py` script step-by-step. The script is structured with `# %%` cell markers, meaning you can easily open it in Google Colab (by renaming it to `.ipynb` or uploading it directly) or run it in VS Code as interactive cells.
|
| 24 |
|
|
|
|
| 74 |
|
| 75 |
---
|
| 76 |
|
| 77 |
+
## Outputs Generated
|
| 78 |
Once the script runs successfully, the following files will be saved in your `save_dir` (Google Drive root by default):
|
| 79 |
1. **`{basename}_pred.png`**: The orthomosaic image with visual bounding boxes drawn around all detected trees.
|
| 80 |
2. **`{basename}.xml`**: Standard Pascal VOC XML annotation file.
|
|
|
|
| 88 |
|
| 89 |
---
|
| 90 |
|
| 91 |
+
## Local Terminal/CLI Execution (Optional)
|
| 92 |
If you wish to run this script outside of Colab (e.g. locally in a terminal):
|
| 93 |
1. Install Python 3.8+ and install all dependencies:
|
| 94 |
```bash
|