# Not working cURL? # curl https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8m.pt --create-dirs -o pretrained/yolov8m.pt mkdir -p pretrained wget https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8m.pt -O pretrained/yolov8m.pt printf "\n\n" RED='\033[0;31m' NC='\033[0m' # No Color printf "${RED}Make sure that you have installed 'ultralytics' for Python environment${NC}" printf "\n\n" python3 -c 'from ultralytics import YOLO; model = YOLO("pretrained/yolov8m.pt"); model.export(format="onnx", opset=12)'