Add HUB-SDK docs (#7775)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com> Co-authored-by: Muhammad Rizwan Munawar <chr043416@gmail.com>
This commit is contained in:
parent
67ae86f006
commit
1152a06cbc
11 changed files with 153 additions and 41 deletions
|
|
@ -259,8 +259,8 @@ class Model(nn.Module):
|
|||
x in sys.argv for x in ("predict", "track", "mode=predict", "mode=track")
|
||||
)
|
||||
|
||||
custom = {"conf": 0.25, "save": is_cli} # method defaults
|
||||
args = {**self.overrides, **custom, **kwargs, "mode": "predict"} # highest priority args on the right
|
||||
custom = {"conf": 0.25, "save": is_cli, "mode": "predict"} # method defaults
|
||||
args = {**self.overrides, **custom, **kwargs} # highest priority args on the right
|
||||
prompts = args.pop("prompts", None) # for SAM-type models
|
||||
|
||||
if not self.predictor:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue