WANDB运行初始化

发布于 2025-01-22 02:28:16 字数 431 浏览 0 评论 0原文

我想尝试使用WANDB来记录我的ML实验的项目;但是我无法初始化运行本身。 我尝试了:

run = wandb.init(project="name",entity="username",name="classification")

这结果是:

wandb: W&B API key is configured (use `wandb login --relogin` to force relogin)

wandb: Network error (ConnectTimeout), entering retry loop.

wandb: Network error (ConnectTimeout), entering retry loop.

我该怎么办? (在启动此单元格之前,我确实通过终端登录了什么)

I wanted to try using wandb to log runs of my ML experiments for a project; but I am not able to initialize the run itself.
I tried:

run = wandb.init(project="name",entity="username",name="classification")

This results in:

wandb: W&B API key is configured (use `wandb login --relogin` to force relogin)

wandb: Network error (ConnectTimeout), entering retry loop.

wandb: Network error (ConnectTimeout), entering retry loop.

What can I do to fix this? (I did login through the terminal before launching this cell idk what else to try)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情愿 2025-01-29 02:28:16

就我而言,通过使用以下两个命令来解决此问题 -

wandb offline
export CUDA_VISIBLE_DEVICES=-1

In my case, this issues was resolved by using the following two commands -

wandb offline
export CUDA_VISIBLE_DEVICES=-1
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文