Michael Rabinovich Cursor commited on
Commit ·
c8f3957
1
Parent(s): 326d20e
metrics page: rename Point Cloud F1 -> Surface Distance F1
Browse filesMatch the renamed shape metric and describe it as point-to-surface
(closest point on the other mesh), not nearest point on the other cloud.
Co-authored-by: Cursor <cursoragent@cursor.com>
- metrics_page.py +6 -6
metrics_page.py
CHANGED
|
@@ -215,15 +215,15 @@ def build_metrics_page() -> str:
|
|
| 215 |
"<p>Does the bulk geometry match? The mean of two complementary "
|
| 216 |
"sub-metrics, each in [0, 1]:</p>"
|
| 217 |
'<pre class="formula">'
|
| 218 |
-
"shape_similarity = 0.5 * (
|
| 219 |
"</pre>"
|
| 220 |
-
"<h3>
|
| 221 |
"<p>Checks the candidate's surface sits where the GT's does and "
|
| 222 |
"faces the same way. Points are sampled across both surfaces with "
|
| 223 |
-
"their outward normals; a point matches when the
|
| 224 |
-
"the other surface is within 0.5% of the GT bounding-box
|
| 225 |
-
"<b>and</b> the normals agree to within 20°. Precision and
|
| 226 |
-
"combine into F1.</p>"
|
| 227 |
"<h3>Volume IoU</h3>"
|
| 228 |
"<p>Shared volume of the two solids over their combined volume "
|
| 229 |
"(intersection over union).</p>"
|
|
|
|
| 215 |
"<p>Does the bulk geometry match? The mean of two complementary "
|
| 216 |
"sub-metrics, each in [0, 1]:</p>"
|
| 217 |
'<pre class="formula">'
|
| 218 |
+
"shape_similarity = 0.5 * (surface_distance_F1 + volume_IoU)"
|
| 219 |
"</pre>"
|
| 220 |
+
"<h3>Surface Distance F1</h3>"
|
| 221 |
"<p>Checks the candidate's surface sits where the GT's does and "
|
| 222 |
"faces the same way. Points are sampled across both surfaces with "
|
| 223 |
+
"their outward normals; a point matches when the closest point on "
|
| 224 |
+
"the other mesh's surface is within 0.5% of the GT bounding-box "
|
| 225 |
+
"diagonal <b>and</b> the normals agree to within 20°. Precision and "
|
| 226 |
+
"recall combine into F1.</p>"
|
| 227 |
"<h3>Volume IoU</h3>"
|
| 228 |
"<p>Shared volume of the two solids over their combined volume "
|
| 229 |
"(intersection over union).</p>"
|