# 入孔 / 孔定位权重 二进制(`.pt` / `.onnx` / `.engine`)**不进 git**。 `hole_detect.backend: yolo` 时把本目录的检测权重绝对路径写进 `config/site.yaml`: ```yaml paths: hole_weights: "/home/USER/ros2/models/hole_insert/best.pt" hole_detect: backend: "yolo" weights: "/home/USER/ros2/models/hole_insert/best.pt" ``` `backend: two_stage` 用的是工件 YOLO(`paths.yolo_weights`),本目录可空。 从旧工程拷贝示例: ```bash mkdir -p ~/ros2/models/hole_insert # 若有独立孔模型: # cp /path/to/best.pt ~/ros2/models/hole_insert/best.pt ```