更新
This commit is contained in:
BIN
ailai_pc/11.pt
BIN
ailai_pc/11.pt
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
ailai_pc/last.pt
BIN
ailai_pc/last.pt
Binary file not shown.
Binary file not shown.
@ -5,9 +5,9 @@ from ultralytics import YOLO
|
|||||||
|
|
||||||
# ====================== 用户配置 ======================
|
# ====================== 用户配置 ======================
|
||||||
#MODEL_PATH = '/home/hx/yolo/ultralytics_yolo11-main/runs/train/exp_ailai2/weights/best.pt'
|
#MODEL_PATH = '/home/hx/yolo/ultralytics_yolo11-main/runs/train/exp_ailai2/weights/best.pt'
|
||||||
MODEL_PATH = 'pointn.pt'
|
MODEL_PATH = 'point.pt'
|
||||||
IMAGE_SOURCE_DIR = '/media/hx/04e879fa-d697-4b02-ac7e-a4148876ebb0/dataset/point2/train' # 验证集图片目录
|
IMAGE_SOURCE_DIR = '/media/hx/04e879fa-d697-4b02-ac7e-a4148876ebb0/dataset/1/20251208' # 验证集图片目录
|
||||||
LABEL_DIR = '/media/hx/04e879fa-d697-4b02-ac7e-a4148876ebb0/dataset/point2/train' # 标签目录(与图片同名 .txt)
|
LABEL_DIR = '/media/hx/04e879fa-d697-4b02-ac7e-a4148876ebb0/dataset/1/20251208' # 标签目录(与图片同名 .txt)
|
||||||
OUTPUT_DIR = './output_images'
|
OUTPUT_DIR = './output_images'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import os
|
|||||||
|
|
||||||
# ====================== 用户配置 ======================
|
# ====================== 用户配置 ======================
|
||||||
MODEL_PATH = '/home/hx/yolo/ultralytics_yolo11-main/runs/train/exp_ailai/weights/best.pt'
|
MODEL_PATH = '/home/hx/yolo/ultralytics_yolo11-main/runs/train/exp_ailai/weights/best.pt'
|
||||||
IMAGE_SOURCE_DIR = '/home/hx/开发/ailai_image_obb/ailai_pc/yolo_obb_dataset/test' # 👈 修改为你的图像文件夹路径
|
IMAGE_SOURCE_DIR = '/home/hx/开发/ailai_image_obb/ailai_pc/test' # 👈 修改为你的图像文件夹路径
|
||||||
OUTPUT_DIR = './output_images' # 保存结果的文件夹
|
OUTPUT_DIR = './output_images' # 保存结果的文件夹
|
||||||
|
|
||||||
# 支持的图像扩展名
|
# 支持的图像扩展名
|
||||||
|
|||||||
BIN
ailai_pc/test/4.jpg
Normal file
BIN
ailai_pc/test/4.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 683 KiB |
Reference in New Issue
Block a user