可以成功动态更换yolo模型并重启服务生效

This commit is contained in:
2025-09-12 20:09:07 +08:00
parent 206652d6bb
commit 5ecbac0f9c
6 changed files with 16 additions and 22 deletions

View File

@ -1,5 +1,3 @@
import os
import numpy as np
from ultralytics import YOLO
from service.model_service import get_current_yolo_model # 带版本校验的模型获取