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}"