Skip to content

Commit b69d264

Browse files
authored
Merge pull request #286 from roboflow/paddle_typo_doc
docs: πŸ“ typo fix for PaddleDetection in args
2 parents 6f427b9 + bc4ba7f commit b69d264

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

β€Ždocs/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### 0.13.0 <small>August 8, 2023</small>
22

3-
- Added [#236](https://github.com/roboflow/supervision/pull/236): support for mean average precision (mAP) for object detection models with [`sv.MeanAveragePrecision`](https://roboflow.github.io/supervision/metrics/detection/#meanaverageprecision).
3+
- Added [#236](https://github.com/roboflow/supervision/pull/236): support for mean average precision (mAP) for object detection models with [`sv.MeanAveragePrecision`](https://roboflow.github.io/supervision/metrics/detection/#meanaverageprecision).
44

55
```python
66
>>> import supervision as sv

β€Žsupervision/detection/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def from_paddledet(cls, paddledet_result) -> Detections:
469469
inference result.
470470
471471
Args:
472-
paddledet_result (List[dict]): The output Results instance from SAM
472+
paddledet_result (List[dict]): The output Results instance from PaddleDet
473473
474474
Returns:
475475
Detections: A new Detections object.

β€Žsupervision/tracker/byte_tracker/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def update_with_detections(self, detections: Detections) -> Detections:
212212
>>> def callback(frame: np.ndarray, index: int) -> np.ndarray:
213213
... results = model(frame)[0]
214214
... detections = sv.Detections.from_yolov8(results)
215-
... detections = byte_tracker.update_with_detections(detections=detections)
215+
... detections = byte_tracker.update_with_detections(detections)
216216
... labels = [
217217
... f"#{tracker_id} {model.model.names[class_id]} {confidence:0.2f}"
218218
... for _, _, confidence, class_id, tracker_id

0 commit comments

Comments
Β (0)