ultralytics 8.3.71 require explicit torch.nn usage (#19067)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: RizwanMunawar <chr043416@gmail.com> Co-authored-by: Muhammad Rizwan Munawar <muhammadrizwanmunawar123@gmail.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
17450e9646
commit
5bca9341e8
10 changed files with 50 additions and 51 deletions
|
|
@ -780,7 +780,7 @@ class AutoBackend(nn.Module):
|
|||
saved_model, pb, tflite, edgetpu, tfjs, ncnn or paddle.
|
||||
|
||||
Args:
|
||||
p: path to the model file. Defaults to path/to/model.pt
|
||||
p (str): path to the model file. Defaults to path/to/model.pt
|
||||
|
||||
Examples:
|
||||
>>> model = AutoBackend(weights="path/to/model.onnx")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue