diff --git a/supervision/detection/core.py b/supervision/detection/core.py index 4079f896..49a3f883 100644 --- a/supervision/detection/core.py +++ b/supervision/detection/core.py @@ -324,7 +324,7 @@ class Detections: >>> inferencer = DetInferencer(model_name, checkpoint, device) >>> mmdet_result = inferencer(SOURCE_IMAGE_PATH, out_dir='./output', - ... return_datasample=True)["predictions"][0] + ... return_datasamples=True)["predictions"][0] >>> detections = sv.Detections.from_mmdet(mmdet_result) ``` """