YOLOv8 instance segmentation web application demo

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 3

  • @DevelopESPrtk
    @DevelopESPrtk 8 місяців тому

    Hello Sir. I visit your git and star it! But how can i download the lightweight version like ''N'' of onnx (not ''M'' not''S'' )

    • @germanovdev6964
      @germanovdev6964  8 місяців тому +1

      Hello. You can use the following code to download the N model and convert it to ONNX:
      from ultralytics import YOLO
      model = YOLO("yolov8n-seg.pt")
      model.export(format="onnx")
      or the following code to download the S model and convert it to ONNX:
      from ultralytics import YOLO
      model = YOLO("yolov8s-seg.pt")
      model.export(format="onnx")

    • @DevelopESPrtk
      @DevelopESPrtk 8 місяців тому

      @@germanovdev6964 Yes. Thank you so much .