So I’ve set up a new sweep via the browser, setup worked successfully:
However, there seems to be a glitch in the sweep setup or something, because, even when I run wandb login --relogin
immediately beforehand, the agent launch command prompts me for the same API key again twice, then cannot find the sweep…
$ wandb login --relogin <(my API key)>
>>> wandb: Appending key for api.wandb.ai to your netrc file: /home/mrim/manniona/.netrc
$ wandb agent aidanm/sos-diagcode-sk/zqicwekz
>>> wandb: Login to W&B to use the sweep agent feature
>>> wandb: Logging into wandb.ai. (Learn how to deploy a W&B server locally: https://wandb.me/wandb-server)
>>> wandb: You can find your API key in your browser here: https://wandb.ai/authorize
>>> wandb: Paste an API key from your profile and hit enter, or press ctrl+c to quit:
>>> wandb: Appending key for api.wandb.ai to your netrc file: /home/mrim/manniona/.netrc
>>> wandb: Starting wandb agent 🕵️
>>> wandb: (1) Create a W&B account
>>> wandb: (2) Use an existing W&B account
>>> wandb: (3) Don't visualize my results
>>> wandb: Enter your choice: 2
>>> wandb: You chose 'Use an existing W&B account'
>>> wandb: Logging into wandb.ai. (Learn how to deploy a W&B server locally: https://wandb.me/wandb-server)
>>> wandb: You can find your API key in your browser here: https://wandb.ai/authorize
>>> wandb: Paste an API key from your profile and hit enter, or press ctrl+c to quit:
>>> wandb: Appending key for api.wandb.ai to your netrc file: /home/mrim/manniona/.netrc
>>> wandb: ERROR Find detailed error logs at: /home/mrim/manniona/wandb/debug-cli.manniona.log
Error: Sweep aidanm/sos-diagcode-sk/zqicwekz not found
Ordinary runs for the same project work fine, although since yesterday the multiple-choice input thing has been triggered every time I run wandb.init
…
Using wandb 0.16.3 on Debian
So I have two questions:
- Is there a way to get the sweep agent feature to see that I’ve already logged in?
- How can I disable the multiple-choice input part? I found a workaround that involves editing the source code so that I can pass my API key to the
wandb_login._login
function, but surely it can’t be necessary to manually select one of those options every time??!