Login to weights and biases anonymously in colab

This commit is contained in:
kuprel 2022-06-28 09:19:52 -04:00
parent 34df2b97df
commit 6dbb5d7a7b

View File

@ -46,10 +46,7 @@
"! git lfs install\n", "! git lfs install\n",
"! git clone https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384 ./pretrained/vqgan\n", "! git clone https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384 ./pretrained/vqgan\n",
"! pip install torch flax wandb\n", "! pip install torch flax wandb\n",
"\n", "! wandb login --anonymously\n",
"import wandb\n",
"\n",
"wandb.login()\n",
"! wandb artifact get --root=./pretrained/dalle_bart_mini dalle-mini/dalle-mini/mini-1:v0" "! wandb artifact get --root=./pretrained/dalle_bart_mini dalle-mini/dalle-mini/mini-1:v0"
] ]
}, },
@ -64,7 +61,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": null,
"metadata": { "metadata": {
"colab": { "colab": {
"base_uri": "https://localhost:8080/", "base_uri": "https://localhost:8080/",
@ -116,7 +113,7 @@
"name": "min-dalle", "name": "min-dalle",
"provenance": [], "provenance": [],
"collapsed_sections": [], "collapsed_sections": [],
"authorship_tag": "ABX9TyOe0aqj9Uvkjg1hg31sMmQk", "authorship_tag": "ABX9TyNySjkE9SnVoxhE0z5TopRb",
"include_colab_link": true "include_colab_link": true
}, },
"gpuClass": "standard", "gpuClass": "standard",