YOLOE: Fix visual prompt usage in docs (#19981)

Signed-off-by: JSheng Pan <36942973+JShengP@users.noreply.github.com>
This commit is contained in:
JSheng Pan 2025-04-03 00:26:57 +08:00 committed by GitHub
parent 815f003802
commit ce35be0478
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -216,7 +216,7 @@ Object detection is straightforward with the `predict` method, as illustrated be
# Set visual prompt
visuals = dict(
bboxes=np.array([221.52, 405.8, 344.98, 857.54]),
bboxes=np.array([[221.52, 405.8, 344.98, 857.54]]),
cls=np.array([0]),
)