Update mkdocs.yml (#7693)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-01-19 17:18:57 +01:00 committed by GitHub
parent c267bd3a0c
commit c13315bbf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 38 additions and 39 deletions

View File

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

View File

@ -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 | | `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 | | `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) | | `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 | | `momentum` | `0.937` | SGD momentum/Adam beta1 |
| `weight_decay` | `0.0005` | optimizer weight decay 5e-4 | | `weight_decay` | `0.0005` | optimizer weight decay 5e-4 |
| `warmup_epochs` | `3.0` | warmup epochs (fractions ok) | | `warmup_epochs` | `3.0` | warmup epochs (fractions ok) |

View File

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