我在训练yolov7时,之前显示错误 wandb.errors.UsageError: api_key not configured (no-tty). call wandb.login(key=[your_api_key]),但是我注册之后wandb,又显示为:
Traceback (most recent call last):
File "D:/graduation thesis/yolov7-main/train.py", line 616, in
train(hyp, opt, device, tb_writer)
File "D:/graduation thesis/yolov7-main/train.py", line 245, in train
dataloader, dataset = create_dataloader(train_path, imgsz, batch_size, gs, opt,
File "D:\graduation thesis\yolov7-main\utils\datasets.py", line 69, in create_dataloader
dataset = LoadImagesAndLabels(path, imgsz, batch_size,
File "D:\graduation thesis\yolov7-main\utils\datasets.py", line 386, in init
raise Exception(f'{prefix}Error loading data from {path}: {e}\nSee {help_url}')
Exception: train: Error loading data from ./coco/train2017.txt: train: coco\train2017.txt does not exist
See https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data
wandb: Waiting for W&B process to finish... (failed 1). Press Ctrl-C to abort syncing.
wandb: Synced exp14: https://wandb.ai/chengdu-univerisity-of-technology/YOLOR/runs/28i4uq24
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-20221008_155840-28i4uq24\logs
进程已结束,退出代码 1