From 760af9ba679bc71fa7611b6008c66501e54bd4ce Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 16 Apr 2025 13:37:33 -0600 Subject: [PATCH] Update object_detectors.md --- docs/docs/configuration/object_detectors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/configuration/object_detectors.md b/docs/docs/configuration/object_detectors.md index 9168971b9e..370fdb00a4 100644 --- a/docs/docs/configuration/object_detectors.md +++ b/docs/docs/configuration/object_detectors.md @@ -990,6 +990,6 @@ bin/pip install onnx onnxruntime onnx-simplifier>=0.4.1 wget -O yolov9-t.pt "https://github.com/WongKinYiu/yolov9/releases/download/v0.1/yolov9-t-converted.pt" # download the weights # prepare and run export script -sed -i "s/ckpt = torch.load(attempt_download(w), map_location='cpu')/ckpt = torch.load(attempt_download(w), map_location='cpu', weights_only=False)/g" +sed -i "s/ckpt = torch.load(attempt_download(w), map_location='cpu')/ckpt = torch.load(attempt_download(w), map_location='cpu', weights_only=False)/g" ./models/experimental.py python3 export.py --weights ./yolov9-t.pt --imgsz 320 --simplify --include onnx ```