Skip to content

Commit

Permalink
Merge pull request #621 from kim-jeonghyun/fix_typo_from_mmdetection
Browse files Browse the repository at this point in the history
fix: 📝 typo in from_mmdetection docstring
  • Loading branch information
SkalskiP authored Nov 26, 2023
2 parents 5333eb2 + 619ec01 commit 2dcf2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervision/detection/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def from_mmdetection(cls, mmdet_results) -> 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)
```
"""
Expand Down

0 comments on commit 2dcf2cc

Please sign in to comment.