Spaces:
Running on Zero
Running on Zero
Feature UBC campus street example
Browse files
README.md
CHANGED
|
@@ -41,9 +41,14 @@ runs entirely in the browser interface. Students can upload an image, choose a
|
|
| 41 |
built-in example, inspect the results, and download the outputs without installing
|
| 42 |
Python or providing an API key.
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
## What the project does
|
| 49 |
|
|
@@ -102,7 +107,7 @@ to limit memory use while preserving aspect ratio.
|
|
| 102 |
- **Model literacy:** inspect boundary errors and discuss why predictions differ from human interpretation.
|
| 103 |
- **Change over time:** process repeat photographs of a location and compare their CSV summaries.
|
| 104 |
|
| 105 |
-
|
| 106 |
[HNIVision example collection](https://github.com/LabMingzeChen/HNIVision/tree/main/space/examples)
|
| 107 |
and appear directly beneath the upload panel in the live app. Hosting samples
|
| 108 |
through GitHub Raw follows the same lightweight pattern as HNI-VLM and avoids
|
|
|
|
| 41 |
built-in example, inspect the results, and download the outputs without installing
|
| 42 |
Python or providing an API key.
|
| 43 |
|
| 44 |
+
### Featured classroom example: UBC campus street
|
| 45 |
+
|
| 46 |
+

|
| 47 |
+
|
| 48 |
+
This scene provides a useful teaching example because it combines vegetation,
|
| 49 |
+
sky, terrain, paving, buildings, poles, pedestrians, and a cyclist in one image.
|
| 50 |
+
Students can compare the predicted area shares and inspect challenging boundaries
|
| 51 |
+
between the tree canopy and sky, or between the paved route and grass.
|
| 52 |
|
| 53 |
## What the project does
|
| 54 |
|
|
|
|
| 107 |
- **Model literacy:** inspect boundary errors and discuss why predictions differ from human interpretation.
|
| 108 |
- **Change over time:** process repeat photographs of a location and compare their CSV summaries.
|
| 109 |
|
| 110 |
+
Five sample street scenes, led by the UBC campus example above, are loaded from the
|
| 111 |
[HNIVision example collection](https://github.com/LabMingzeChen/HNIVision/tree/main/space/examples)
|
| 112 |
and appear directly beneath the upload panel in the live app. Hosting samples
|
| 113 |
through GitHub Raw follows the same lightweight pattern as HNI-VLM and avoids
|
app.py
CHANGED
|
@@ -43,7 +43,13 @@ SAMPLE_ROOT = (
|
|
| 43 |
)
|
| 44 |
SAMPLE_IMAGES = [
|
| 45 |
f"{SAMPLE_ROOT}/{filename}"
|
| 46 |
-
for filename in (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
]
|
| 48 |
|
| 49 |
|
|
|
|
| 43 |
)
|
| 44 |
SAMPLE_IMAGES = [
|
| 45 |
f"{SAMPLE_ROOT}/{filename}"
|
| 46 |
+
for filename in (
|
| 47 |
+
"ubc-campus-main-mall.jpeg",
|
| 48 |
+
"140546.jpg",
|
| 49 |
+
"145541.jpg",
|
| 50 |
+
"148831.jpg",
|
| 51 |
+
"160710.jpg",
|
| 52 |
+
)
|
| 53 |
]
|
| 54 |
|
| 55 |
|