Modified the parameter description of 'weights' in the AutoBackend class (#18059)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
f6005a9166
commit
7ba48cc078
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class AutoBackend(nn.Module):
|
||||||
Initialize the AutoBackend for inference.
|
Initialize the AutoBackend for inference.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
weights (str): Path to the model weights file. Defaults to 'yolov8n.pt'.
|
weights (str | torch.nn.Module): Path to the model weights file or a module instance. Defaults to 'yolo11n.pt'.
|
||||||
device (torch.device): Device to run the model on. Defaults to CPU.
|
device (torch.device): Device to run the model on. Defaults to CPU.
|
||||||
dnn (bool): Use OpenCV DNN module for ONNX inference. Defaults to False.
|
dnn (bool): Use OpenCV DNN module for ONNX inference. Defaults to False.
|
||||||
data (str | Path | optional): Path to the additional data.yaml file containing class names. Optional.
|
data (str | Path | optional): Path to the additional data.yaml file containing class names. Optional.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue