ispamm / GESCO

Offcial PyTorch repository for the paper "Generative Semantic Communication: Diffusion Models Beyond Bit Recovery"
MIT License
69 stars 12 forks source link

Report an error about“ wandb.init(project="sdm") ” #6

Open WenBingo opened 1 year ago

WenBingo commented 1 year ago

report an error about“ wandb.init(project="sdm") ”

Traceback (most recent call last): File "D:\Anaconda\envs\pytorch\lib\site-packages\wandb\sdk\wandb_init.py", line 1173, in init raise e File "D:\Anaconda\envs\pytorch\lib\site-packages\wandb\sdk\wandb_init.py", line 1150, in init wi.setup(kwargs) File "D:\Anaconda\envs\pytorch\lib\site-packages\wandb\sdk\wandb_init.py", line 289, in setup wandb_login._login( File "D:\Anaconda\envs\pytorch\lib\site-packages\wandb\sdk\wandb_login.py", line 298, in _login wlogin.prompt_api_key() File "D:\Anaconda\envs\pytorch\lib\site-packages\wandb\sdk\wandb_login.py", line 228, in prompt_api_key raise UsageError("api_key not configured (no-tty). call " + directive) wandb.errors.UsageError: api_key not configured (no-tty). call wandb.login(key=[your_api_key])

MeowDWing commented 1 year ago

you should log in wandb before you run the program. you need open www.wandb.com and sign up an account, and then you can see the quickstart (https://wandb.ai/quickstart) to know how to use it.

WenBingo commented 1 year ago

thanks for your answer , i will try this way