Add OBB benchmarks to CI (#7777)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
1152a06cbc
commit
3c1170769a
5 changed files with 12 additions and 5 deletions
|
|
@ -48,7 +48,7 @@ def build_docs(use_languages=False, clone_repos=True):
|
|||
if not local_dir.exists():
|
||||
os.system(f"git clone {repo} {local_dir}")
|
||||
os.system(f"git -C {local_dir} pull") # update repo
|
||||
shutil.rmtree(DOCS / "en/hub/sdk")
|
||||
shutil.rmtree(DOCS / "en/hub/sdk", ignore_errors=True) # delete if exists
|
||||
shutil.copytree(local_dir / "docs", DOCS / "en/hub/sdk")
|
||||
shutil.rmtree(DOCS / "en/hub/sdk/reference") # temporarily delete reference until we find a solution for this
|
||||
print(f"Cloned/Updated {repo} in {local_dir}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue