From d42a89ed130cb5da1d6882539a456c1ad8fae2c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E7=BF=94=E5=AE=87?= Date: Tue, 13 Oct 2026 07:57:56 +0000 Subject: [PATCH] fix(scripts): update default TILE_SIZE to 128 in retrain_from_label_studio.sh --- scripts/retrain_from_label_studio.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/retrain_from_label_studio.sh b/scripts/retrain_from_label_studio.sh index c51b004..7fabdcd 100755 --- a/scripts/retrain_from_label_studio.sh +++ b/scripts/retrain_from_label_studio.sh @@ -19,7 +19,7 @@ IMAGES="${LS_IMAGES_DIR:-$REPO/runs/boxes_shap_label_studio/images}" STAMP=$(date +%Y%m%d_%H%M) # 切片参数。改尺寸时这里与 configs/detect/film.yaml 的 imgsz 会一起生效(见第 4 步) -TILE_SIZE="${TILE_SIZE:-160}" +TILE_SIZE="${TILE_SIZE:-128}" TILE_OVERLAP="${TILE_OVERLAP:-32}" # >0.5 保证一个框最多出现在一片里,不会在相邻片各留一个残框 MIN_VISIBILITY="${MIN_VISIBILITY:-0.6}"