From 8bfd34b59962b875b13043190cdc4788d7304c9c Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 19 Aug 2022 18:41:30 +0200 Subject: [PATCH] Created using Colaboratory --- tutorial.ipynb | 45 ++++++++++++++------------------------------- 1 file changed, 14 insertions(+), 31 deletions(-) diff --git a/tutorial.ipynb b/tutorial.ipynb index 1c5d77813f15..91e2d7e75eab 100644 --- a/tutorial.ipynb +++ b/tutorial.ipynb @@ -654,46 +654,29 @@ "

Label images lightning fast (including with model-assisted labeling)" ] }, - { - "cell_type": "code", - "metadata": { - "id": "bOy5KI2ncnWd" - }, - "source": [ - "# Tensorboard (optional)\n", - "%load_ext tensorboard\n", - "%tensorboard --logdir runs/train" - ], - "execution_count": null, - "outputs": [] - }, { "cell_type": "code", "source": [ - "# ClearML (optional)\n", - "%pip install -q clearml\n", - "!clearml-init" + "#@title Select YOLOv5 🚀 logger\n", + "logger = 'TensorBoard' #@param ['TensorBoard', 'ClearML', 'W&B']\n", + "\n", + "if logger == 'Tensorboard':\n", + " %load_ext tensorboard\n", + " %tensorboard --logdir runs/train\n", + "elif logger == 'ClearML':\n", + " %pip install -q clearml\n", + " !clearml-init\n", + "elif logger == 'W&B':\n", + " %pip install -q wandb\n", + " import wandb\n", + " wandb.login()" ], "metadata": { - "id": "DQhI6vvaRWjR" + "id": "i3oKtE4g-aNn" }, "execution_count": null, "outputs": [] }, - { - "cell_type": "code", - "metadata": { - "id": "2fLAV42oNb7M" - }, - "source": [ - "# Weights & Biases (optional)\n", - "%pip install -q wandb\n", - "import wandb\n", - "wandb.login()" - ], - "execution_count": null, - "outputs": [] - }, { "cell_type": "code", "metadata": {