embellish comment
This commit is contained in:
@@ -43,8 +43,11 @@ class Classifications:
|
||||
|
||||
@classmethod
|
||||
@deprecated(
|
||||
"This method is deprecated and removed in 0.16.0 release. Use sv.Classifications.from_ultralytics() instead"
|
||||
"as it is more generic and can be used for detections from any ultralytics.engine.results.Results Object "
|
||||
"""
|
||||
This method is deprecated and removed in 0.16.0 release.
|
||||
Use sv.Classifications.from_ultralytics() instead as it is more generic and
|
||||
can be used for detections from any ultralytics.engine.results.Results Object
|
||||
"""
|
||||
)
|
||||
def from_yolov8(cls, yolov8_results) -> Classifications:
|
||||
"""
|
||||
|
||||
@@ -179,8 +179,11 @@ class Detections:
|
||||
|
||||
@classmethod
|
||||
@deprecated(
|
||||
"This method is deprecated and removed in 0.16.0 release. Use sv.Detections.from_ultralytics() instead"
|
||||
"as it is more generic and can be used for detections from any ultralytics.engine.results.Results Object "
|
||||
"""
|
||||
This method is deprecated and removed in 0.16.0 release.
|
||||
Use sv.Classifications.from_ultralytics() instead as it is more generic and
|
||||
can be used for detections from any ultralytics.engine.results.Results Object
|
||||
"""
|
||||
)
|
||||
def from_yolov8(cls, yolov8_results) -> Detections:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user