‘wandb_api_key’ not found[Q]
See original GitHub issueHello, I’m running this project: https://github.com/ws-choi/Conditioned-Source-Separation-LaSAFT which need to use HYDRA training and wandb key. I followed the instructions, registered a wandb account and got an API key. I copied the API key to the terminal as required. However when I take training, it report this error:
Global seed set to 2020
wandb: Currently logged in as: kinologic. Use `wandb login --relogin` to force relogin
wandb: Tracking run with wandb version 0.13.5
wandb: Run data is saved locally in ./wandb/run-20221110_150236-293r0nox
wandb: Run `wandb offline` to turn off syncing.
wandb: Syncing run grateful-bee-6
wandb: ⭐️ View project at https://wandb.ai/kinologic/lasaft
wandb: 🚀 View run at https://wandb.ai/kinologic/lasaft/runs/293r0nox
Error executing job with overrides: ['dataset.musdb_root=dev/musdb/musdb18hq/']
Traceback (most recent call last):
File "train.py", line 24, in hydra_entry
main(cfg)
File "train.py", line 19, in main
trainer.train(cfg)
File "/home/usrname/Conditioned-Source-Separation-LaSAFT/lasaft/source_separation/conditioned/scripts/trainer.py", line 45, in train
wandb_login(key=cfg['wandb_api_key'])
omegaconf.errors.InterpolationResolutionError: KeyError raised while resolving interpolation: "Environment variable 'wandb_api_key' not found"
full_key: wandb_api_key
object_type=dict
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
wandb: Waiting for W&B process to finish... (failed 1). Press Control-C to abort syncing.
wandb: Synced grateful-bee-6: https://wandb.ai/kinologic/lasaft/runs/293r0nox
wandb: Synced 6 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)
wandb: Find logs at: ./wandb/run-20221110_150236-293r0nox/logs
What should I do? Thank you.
Issue Analytics
- State:
- Created 10 months ago
- Comments:5
Top Results From Across the Web
[App] Unable to pass api key in cli #2878 - wandb ... - GitHub
No way to paste or even type anything at the command line.
Read more >Anonymous Mode - Documentation - Weights & Biases - Wandb
If there's no account, we automatically create a new anonymous account and save that API key for the session. 2. Log results quickly:...
Read more >Quickstart - Documentation - Weights & Biases - WandB
Try this short Google Colab to see Weights & Biases in action, no code installation ... You will find your API key here:...
Read more >Weights & Biases - Documentation - WandB
Use W&B's lightweight, interoperable tools to quickly track experiments, version and iterate on datasets, evaluate model performance, reproduce models, ...
Read more >General - Documentation - Weights & Biases - Wandb
When wandb.init() is called from your training script an API call is made to ... API key that has permissions to write to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you! Sorry for my server’s broken these days and I finally tried it success today 😃 Thank you for your reply!
WandB Internal User commented: Logicino commented:
Thank you! Sorry for my server’s broken these days and I finally tried it success today 😃 Thank you for your reply!