Created using Colaboratory

This commit is contained in:
Glenn Jocher 2021-04-30 13:15:31 +02:00
parent 41f5cc5637
commit 9b91db6d1a
1 changed files with 6 additions and 5 deletions

11
tutorial.ipynb vendored
View File

@ -563,7 +563,7 @@
"clear_output()\n", "clear_output()\n",
"print(f\"Setup complete. Using torch {torch.__version__} ({torch.cuda.get_device_properties(0).name if torch.cuda.is_available() else 'CPU'})\")" "print(f\"Setup complete. Using torch {torch.__version__} ({torch.cuda.get_device_properties(0).name if torch.cuda.is_available() else 'CPU'})\")"
], ],
"execution_count": 31, "execution_count": null,
"outputs": [ "outputs": [
{ {
"output_type": "stream", "output_type": "stream",
@ -889,7 +889,7 @@
"id": "bOy5KI2ncnWd" "id": "bOy5KI2ncnWd"
}, },
"source": [ "source": [
"# Tensorboard (optional)\n", "# Tensorboard (optional)\n",
"%load_ext tensorboard\n", "%load_ext tensorboard\n",
"%tensorboard --logdir runs/train" "%tensorboard --logdir runs/train"
], ],
@ -902,9 +902,10 @@
"id": "2fLAV42oNb7M" "id": "2fLAV42oNb7M"
}, },
"source": [ "source": [
"# Weights & Biases (optional)\n", "# Weights & Biases (optional)\n",
"%pip install -q wandb \n", "%pip install -q wandb\n",
"!wandb login # use 'wandb disabled' or 'wandb enabled' to disable or enable" "import wandb\n",
"wandb.login()"
], ],
"execution_count": null, "execution_count": null,
"outputs": [] "outputs": []