Update OBB predict examples with boats.jpg (#17052)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Jan Knobloch <116908874+jk4e@users.noreply.github.com> Co-authored-by: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com>
This commit is contained in:
parent
b5fd7f3378
commit
1d6fd4c3cf
4 changed files with 8 additions and 6 deletions
|
|
@ -809,7 +809,9 @@ def entrypoint(debug=""):
|
|||
|
||||
# Mode
|
||||
if mode in {"predict", "track"} and "source" not in overrides:
|
||||
overrides["source"] = DEFAULT_CFG.source or ASSETS
|
||||
overrides["source"] = (
|
||||
"https://ultralytics.com/images/boats.jpg" if task == "obb" else DEFAULT_CFG.source or ASSETS
|
||||
)
|
||||
LOGGER.warning(f"WARNING ⚠️ 'source' argument is missing. Using default 'source={overrides['source']}'.")
|
||||
elif mode in {"train", "val"}:
|
||||
if "data" not in overrides and "resume" not in overrides:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue