用pycharm运行yolov5报错,KeyError: 'train?

train: weights=yolov5s.pt, cfg=models/yolov5s.yaml, data=NED\data.yaml, hyp=data\hyps\hyp.scratch-low.yaml, epochs=300, batch_size=8, imgsz=640, rect=False, resume=False, nosave=False, noval=False, noautoanchor=False, evolve=None, bucket=, cache=None, image_weights=False, device=, multi_scale=False, single_cls=False, optimizer=SGD, sync_bn=False, workers=8, project=runs\train, name=exp, exist_ok=False, quad=False, cos_lr=False, label_smoothing=0.0, patience=100, freeze=[0], save_period=-1, local_rank=-1, entity=None, upload_dataset=False, bbox_interval=-1, artifact_alias=latest
github: skipping check (not a git repository), for updates see https://github.com/ultralytics/yolov5
YOLOv5  2022-2-22 torch 1.12.0 CPU

hyperparameters: lr0=0.01, lrf=0.01, momentum=0.937, weight_decay=0.0005, warmup_epochs=3.0, warmup_momentum=0.8, warmup_bias_lr=0.1, box=0.05, cls=0.5, cls_pw=1.0, obj=1.0, obj_pw=1.0, iou_t=0.2, anchor_t=4.0, fl_gamma=0.0, hsv_h=0.015, hsv_s=0.7, hsv_v=0.4, degrees=0.0, translate=0.1, scale=0.5, shear=0.0, perspective=0.0, flipud=0.0, fliplr=0.5, mosaic=1.0, mixup=0.0, copy_paste=0.0
TensorBoard: Start with 'tensorboard --logdir runs\train', view at http://localhost:6006/
Traceback (most recent call last):
  File "D:\conda\envs\yolov5\yolov5-6.1\train.py", line 643, in 
    main(opt)
  File "D:\conda\envs\yolov5\yolov5-6.1\train.py", line 539, in main
Weights & Biases: run 'pip install wandb' to automatically track and visualize YOLOv5  runs (RECOMMENDED)
    train(opt.hyp, opt, device, callbacks)
  File "D:\conda\envs\yolov5\yolov5-6.1\train.py", line 111, in train
    train_path, val_path = data_dict['train'], data_dict['val']

排了一天的各种缺库最后一直报这个,属实的搞崩溃了,求解

数据集路径不对吧

emmmm,他让你运行
pip install wandb

1.代码更新到最新。
2.检查一下你的--data这个参数对应的yaml文件里面的train和val这两个参数是不是在,你不要把这两个给注释掉了,这两参数:后面有个空格,没空格格式不对。

我已经放弃了,全删了从新开始,又报了别的错,人麻了

兄弟,咋解决的,给支个招,整个人要奔溃了