Skip to content

Commit 0cab933

Browse files
committed
Unified Directory of test results
1 parent 2e624f7 commit 0cab933

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dashboard/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def main():
6565
st.markdown("---")
6666

6767
results_dir = st.text_input(
68-
"测试结果目录", value="../output", help="包含 JSON/CSV 测试结果的目录"
68+
"测试结果目录", value="./output", help="包含 JSON/CSV 测试结果的目录"
6969
)
7070

7171
if not use_mongodb and results_dir != str(

dashboard/pages/training.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def main():
3030
runs = load_training_runs(dl)
3131

3232
if not runs:
33-
st.info("未找到训练测试结果\n请将训练测试结果放在 test_output/train/ 或 test_output/training/ 目录下")
33+
st.info("未找到训练测试结果\n请将训练测试结果放在 output/train/ 或 output/training/ 目录下")
3434
return
3535

3636
# Sidebar Filters

dashboard/utils/data_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class InfiniMetricsDataLoader:
2828

2929
def __init__(
3030
self,
31-
results_dir: str = "../output",
31+
results_dir: str = "./output",
3232
use_mongodb: bool = False,
3333
mongo_config=None,
3434
fallback_to_files: bool = True,

dashboard/utils/data_sources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def source_type(self) -> str:
5151
class FileDataSource(DataSource):
5252
"""File-based data source (reads from JSON/CSV files)."""
5353

54-
def __init__(self, results_dir: str = "../output"):
54+
def __init__(self, results_dir: str = "./output"):
5555
self.results_dir = Path(results_dir)
5656

5757
@property

0 commit comments

Comments
 (0)