Files
Timeline_Generator/run.bat
beabigegg 2d37d23bcf v9.5: 實作標籤完全不重疊算法
- 新增 _calculate_lane_conflicts_v2() 分開返回標籤重疊和線穿框分數
- 修改泳道選擇算法,優先選擇無標籤重疊的泳道
- 兩階段搜尋:優先側別無可用泳道則嘗試另一側
- 增強日誌輸出,顯示標籤範圍和詳細衝突分數

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 11:35:29 +08:00

43 lines
938 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
REM TimeLine Designer - Windows 啟動腳本
REM Version: 1.0.0
echo ========================================
echo TimeLine Designer 啟動中...
echo ========================================
echo.
REM 檢查 Python 是否安裝
python --version >nul 2>&1
if errorlevel 1 (
echo [錯誤] 找不到 Python請先安裝 Python 3.8+
pause
exit /b 1
)
REM 檢查虛擬環境
if not exist "venv" (
echo [資訊] 建立虛擬環境...
python -m venv venv
)
REM 啟動虛擬環境
call venv\Scripts\activate.bat
REM 安裝依賴(如果需要)
if not exist "venv\Lib\site-packages\fastapi" (
echo [資訊] 安裝依賴套件...
pip install -r requirements.txt
)
REM 啟動應用程式
echo [資訊] 啟動 TimeLine Designer...
python app.py
REM 結束
echo.
echo ========================================
echo TimeLine Designer 已關閉
echo ========================================
pause