chore: 2차년도 성능평가 측정 구성 초기 업로드
data(train 520·holdout 120), server(발화 생성 서버), eval(grounding_eval), run_eval.py·run_test.sh. logs/ 는 실행 때마다 생기는 기록이라 README.md 만 올리고 나머지는 .gitignore 로 뺀다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
13ab9dee84
70 files changed
+17141
No files matched your search
@@ -0,0 +1,14 @@
|
||||
"""서버 루트 기준 경로 정의."""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
SERVER_ROOT = Path(__file__).resolve().parents[1]
|
||||
RESOURCES_DIR = SERVER_ROOT / "resources"
|
||||
DATA_DIR = SERVER_ROOT / "data"
|
||||
LOGS_DIR = SERVER_ROOT / "logs"
|
||||
|
||||
|
||||
def resolve_data_path(path_str: str) -> Path:
|
||||
"""config 의 상대경로를 서버 루트 기준 절대경로로 변환한다."""
|
||||
p = Path(path_str)
|
||||
return p if p.is_absolute() else SERVER_ROOT / p
|
||||
Reference in new issue
Block a user