Merge pull request #286 from roboflow/paddle_typo_doc
docs: 📝 typo fix for PaddleDetection in args
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
### 0.13.0 <small>August 8, 2023</small>
|
||||
|
||||
- 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).
|
||||
- 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).
|
||||
|
||||
```python
|
||||
>>> import supervision as sv
|
||||
|
||||
@@ -469,7 +469,7 @@ class Detections:
|
||||
inference result.
|
||||
|
||||
Args:
|
||||
paddledet_result (List[dict]): The output Results instance from SAM
|
||||
paddledet_result (List[dict]): The output Results instance from PaddleDet
|
||||
|
||||
Returns:
|
||||
Detections: A new Detections object.
|
||||
|
||||
@@ -212,7 +212,7 @@ class ByteTrack:
|
||||
>>> def callback(frame: np.ndarray, index: int) -> np.ndarray:
|
||||
... results = model(frame)[0]
|
||||
... detections = sv.Detections.from_yolov8(results)
|
||||
... detections = byte_tracker.update_with_detections(detections=detections)
|
||||
... detections = byte_tracker.update_with_detections(detections)
|
||||
... labels = [
|
||||
... f"#{tracker_id} {model.model.names[class_id]} {confidence:0.2f}"
|
||||
... for _, _, confidence, class_id, tracker_id
|
||||
|
||||
Reference in New Issue
Block a user