换台电脑克隆后启动失败,是因为 site 和启动脚本写死了 /home/cc/ros2。仓库内路径改成相对仓库根,加载时再展开;缺 install 时先说明要编译,而不是 source 一个不存在的文件。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -14,7 +14,7 @@ python3 "${ROOT}/scripts/lib/export_site_env.py" --print ${ROBOT_SN:+--sn "$ROBO
|
||||
echo
|
||||
echo "Edit: ${SITE_CONFIG:-$ROOT/config/site.yaml}"
|
||||
echo "Switch weights:"
|
||||
echo " paths.yolo_weights: \"/home/cc/ros2/models/yolo/detect_best_0.onnx\" # 写 onnx 或 pt 均可"
|
||||
echo " paths.yolo_weights: \"models/yolo/detect_best_0.onnx\" # 相对仓库根,写 onnx 或 pt 均可"
|
||||
echo " 改完确认标签和 engine 都对:"
|
||||
echo " bash ~/ros2/scripts/weights.sh list"
|
||||
echo " bash ~/ros2/scripts/weights.sh doctor --check-engines"
|
||||
|
||||
Reference in New Issue
Block a user