探测之眼
2021-10-15 01:20
采纳率: 0%
浏览 14

在运行yolov5中train.py时报错(最新版本)

C:\ProgramData\Anaconda3\envs\yolov5\python.exe D:/yolov5-6.0/train.py
Traceback (most recent call last):
File "D:/yolov5-6.0/train.py", line 48, in
from utils.loggers.wandb.wandb_utils import check_wandb_resume
File "D:\yolov5-6.0\utils\loggers_init_.py", line 13, in
from utils.loggers.wandb.wandb_utils import WandbLogger
File "D:\yolov5-6.0\utils\loggers\wandb\wandb_utils.py", line 29, in
wandb.login(timeout=30)
File "C:\ProgramData\Anaconda3\envs\yolov5\lib\site-packages\wandb\sdk\wandb_login.py", line 65, in login
configured = _login(**kwargs)
File "C:\ProgramData\Anaconda3\envs\yolov5\lib\site-packages\wandb\sdk\wandb_login.py", line 274, in _login
wlogin.prompt_api_key()
File "C:\ProgramData\Anaconda3\envs\yolov5\lib\site-packages\wandb\sdk\wandb_login.py", line 209, 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])

img

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

相关推荐 更多相似问题