Datasets:
Formats:
json
Languages:
English
Size:
< 1K
Tags:
3d-scene-understanding
monocular-depth-estimation
controlnet
diffusion-models
benchmark
evaluation
License:
Update anova_recompute.py default output path to anova.json
Browse files
evaluation/anova_recompute.py
CHANGED
|
@@ -4,7 +4,7 @@ This script is the authoritative source for the F-statistics and partial
|
|
| 4 |
eta-squared values reported in main_v2.tex Findings (line ~341-342).
|
| 5 |
|
| 6 |
Usage:
|
| 7 |
-
# Default (uses evaluation/igf_results.json -> evaluation/
|
| 8 |
python evaluation/anova_recompute.py
|
| 9 |
|
| 10 |
# Override input/output paths:
|
|
@@ -36,8 +36,8 @@ recommended default in modern statistical practice (R's car package
|
|
| 36 |
default) for designs that are unbalanced or nearly so.
|
| 37 |
|
| 38 |
Output:
|
| 39 |
-
- evaluation/
|
| 40 |
-
legacy `
|
| 41 |
transparently reported side-by-side).
|
| 42 |
"""
|
| 43 |
import argparse
|
|
@@ -51,7 +51,7 @@ from statsmodels.stats.anova import anova_lm
|
|
| 51 |
|
| 52 |
ROOT = Path(__file__).resolve().parent.parent
|
| 53 |
IGF_RESULTS = ROOT / "evaluation" / "igf_results.json"
|
| 54 |
-
OUTPUT = ROOT / "evaluation" / "
|
| 55 |
|
| 56 |
GEN_MODELS = ["sd15", "sdxl", "sd35", "flux1", "hunyuan", "kolors"]
|
| 57 |
GT_KEY = "gt_baseline"
|
|
@@ -64,7 +64,7 @@ def parse_args():
|
|
| 64 |
p.add_argument("--input", type=str, default=None,
|
| 65 |
help="Input igf_results.json path (default: evaluation/igf_results.json).")
|
| 66 |
p.add_argument("--output", type=str, default=None,
|
| 67 |
-
help="Output significance JSON path (default: evaluation/
|
| 68 |
return p.parse_args()
|
| 69 |
|
| 70 |
|
|
|
|
| 4 |
eta-squared values reported in main_v2.tex Findings (line ~341-342).
|
| 5 |
|
| 6 |
Usage:
|
| 7 |
+
# Default (uses evaluation/igf_results.json -> evaluation/anova.json):
|
| 8 |
python evaluation/anova_recompute.py
|
| 9 |
|
| 10 |
# Override input/output paths:
|
|
|
|
| 36 |
default) for designs that are unbalanced or nearly so.
|
| 37 |
|
| 38 |
Output:
|
| 39 |
+
- evaluation/anova.json (additive: does NOT overwrite the
|
| 40 |
+
legacy `anova.json` so that the two computations are
|
| 41 |
transparently reported side-by-side).
|
| 42 |
"""
|
| 43 |
import argparse
|
|
|
|
| 51 |
|
| 52 |
ROOT = Path(__file__).resolve().parent.parent
|
| 53 |
IGF_RESULTS = ROOT / "evaluation" / "igf_results.json"
|
| 54 |
+
OUTPUT = ROOT / "evaluation" / "anova.json"
|
| 55 |
|
| 56 |
GEN_MODELS = ["sd15", "sdxl", "sd35", "flux1", "hunyuan", "kolors"]
|
| 57 |
GT_KEY = "gt_baseline"
|
|
|
|
| 64 |
p.add_argument("--input", type=str, default=None,
|
| 65 |
help="Input igf_results.json path (default: evaluation/igf_results.json).")
|
| 66 |
p.add_argument("--output", type=str, default=None,
|
| 67 |
+
help="Output significance JSON path (default: evaluation/anova.json).")
|
| 68 |
return p.parse_args()
|
| 69 |
|
| 70 |
|