test.py 126 B

12345
  1. #测试安装是否正确
  2. from ultralytics import YOLO
  3. if __name__ == "__main__":
  4. model = YOLO("yolov8n.pt")#生成模型