Search code examples
authenticationgoogle-colaboratorywandb

how to login wandb with another acount using colab?


For example, I have A, B acounts.

First, I log in Google Colab with A account. and I want to log in wandb with B acounts. ( using !wandb login ) is it possible??


Solution

  • You can you the following commands to force a relogin:

    • from terminal
    wandb login --relogin
    
    • Using the API:
    import wandb
    wandb.login(relogin=True)