fix wandb flag in colab causing issues

This commit is contained in:
Victor Hall 2023-01-26 16:14:23 -05:00
parent 5a86972287
commit 98c8ab2976
1 changed files with 3 additions and 0 deletions

View File

@ -327,10 +327,13 @@
"#@markdown *Weights and Biases logging token. \n",
"\n",
"# #@markdown Paste your token here if you have an account so you can use it to track your training progress. If you don't have an account, you can create one for free at https://wandb.ai/site. Log will use your project name from above. This is a free online logging utility.\n",
"\n",
"# #@markdown Your key is on this page: https://wandb.ai/settings under \"Danger Zone\" \"API Keys\"\n",
"wandb_token = '' #@param{type:\"string\"}\n",
"\n",
"#@markdown * That's it! Run the cell!\n",
"\n",
"wandb_settings = \"\"\n",
"if wandb_token:\n",
" !wandb login $wandb_token\n",
" wandb_settings = \"--wandb\"\n",