Update `mkdocs.yml` (#7693)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pull/7711/head
Glenn Jocher 10 months ago committed by GitHub
parent c267bd3a0c
commit c13315bbf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      docs/build_docs.py
  2. 2
      docs/en/usage/cfg.md
  3. 68
      docs/mkdocs.yml

@ -33,7 +33,7 @@ from tqdm import tqdm
DOCS = Path(__file__).parent.resolve()
SITE = DOCS.parent / "site"
LANGUAGES = True
LANGUAGES = False
def build_docs():
@ -142,9 +142,8 @@ def main():
update_html_links()
# Update HTML file head section
key = os.environ.get("WEGLOT_KEY")
if not LANGUAGES and key:
update_html_head(key)
if not LANGUAGES and False:
update_html_head(key=os.environ.get("WEGLOT_KEY"))
# Show command to serve built website
print('Serve site at http://localhost:8000 with "python -m http.server --directory site"')

@ -115,7 +115,7 @@ The training settings for YOLO models encompass various hyperparameters and conf
| `profile` | `False` | profile ONNX and TensorRT speeds during training for loggers |
| `freeze` | `None` | (int or list, optional) freeze first n layers, or freeze list of layer indices during training |
| `lr0` | `0.01` | initial learning rate (i.e. SGD=1E-2, Adam=1E-3) |
| `lrf` | `0.01` | final learning rate (lr0 * lrf) |
| `lrf` | `0.01` | final learning rate (`lr0 * lrf`) |
| `momentum` | `0.937` | SGD momentum/Adam beta1 |
| `weight_decay` | `0.0005` | optimizer weight decay 5e-4 |
| `warmup_epochs` | `3.0` | warmup epochs (fractions ok) |

@ -71,40 +71,40 @@ extra: # version:
analytics:
provider: google
property: G-2M5EHKC0BH
alternate: # language drop-down
- name: 🇬🇧 English
link: /
lang: en
- name: 🇨🇳 简体中文
link: /zh/
lang: zh
- name: 🇰🇷 한국어
link: /ko/
lang: ko
- name: 🇯🇵 日本語
link: /ja/
lang: ja
- name: 🇷🇺 Русский
link: /ru/
lang: ru
- name: 🇩🇪 Deutsch
link: /de/
lang: de
- name: 🇫🇷 Français
link: /fr/
lang: fr
- name: 🇪🇸 Español
link: /es/
lang: es
- name: 🇵🇹 Português
link: /pt/
lang: pt
- name: 🇮🇳 हि
link: /hi/
lang: hi
- name: 🇸🇦 العربية
link: /ar/
lang: ar
# alternate: # language drop-down
# - name: 🇬🇧 English
# link: /
# lang: en
# - name: 🇨🇳 简体中文
# link: /zh/
# lang: zh
# - name: 🇰🇷 한국어
# link: /ko/
# lang: ko
# - name: 🇯🇵 日本語
# link: /ja/
# lang: ja
# - name: 🇷🇺 Русский
# link: /ru/
# lang: ru
# - name: 🇩🇪 Deutsch
# link: /de/
# lang: de
# - name: 🇫🇷 Français
# link: /fr/
# lang: fr
# - name: 🇪🇸 Español
# link: /es/
# lang: es
# - name: 🇵🇹 Português
# link: /pt/
# lang: pt
# - name: 🇮🇳 हि
# link: /hi/
# lang: hi
# - name: 🇸🇦 العربية
# link: /ar/
# lang: ar
social:
- icon: fontawesome/brands/github
link: https://github.com/ultralytics

Loading…
Cancel
Save