用yolov7训练时出现这种问题该怎么解决啊
torch 2.2.2 CUDA:0 (NVIDIA GeForce GTX 1660 Ti, 6143.6875MB)
Namespace(weights='weights/yolov7_training.pt', cfg='cfg/training/yolov7-fanblade.yaml', data='data/data.yaml', hyp='data/hyp.scratch.p5.yaml', epochs=300, batch_size=8, img_size=[640, 640], rect=False, resume=False, nosave=False, notest=False, noautoanchor=False, evolve=False, bucket='', cache_images=False, image_weights=False, device='0', multi_scale=False, single_cls=False, adam=False, sync_bn=False, local_rank=-1, workers=8, project='runs/train', entity=None, name='exp', exist_ok=False, quad=False, linear_lr=False, label_smoothing=0.0, upload_dataset=False, bbox_interval=-1, save_period=-1, artifact_alias='latest', freeze=[0], v5_metric=False, world_size=1, global_rank=-1, save_dir='runs\\train\\exp7', total_batch_size=8)
tensorboard: Start with 'tensorboard --logdir runs/train', view at http://localhost:6006/
hyperparameters: lr0=0.01, lrf=0.1, 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.3, cls_pw=1.0, obj=0.7, 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.2, scale=0.9, shear=0.0, perspective=0.0, flipud=0.0, fliplr=0.5, mosaic=1.0, mixup=0.15, copy_paste=0.0, paste_in=0.15, loss_ota=1
wandb: Install Weights & Biases for YOLOR logging with 'pip install wandb' (recommended)
'git' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Traceback (most recent call last):
File "E:\yolov7\yolov7-main\utils\google_utils.py", line 26, in attempt_download
assets = [x['name'] for x in response['assets']] # release assets
~~~~~~~~^^^^^^^^^^
KeyError: 'assets'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\yolov7\yolov7-main\train.py", line 617, in <module>
train(hyp, opt, device, tb_writer)
File "E:\yolov7\yolov7-main\train.py", line 86, in train
attempt_download(weights) # download if not found locally
^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\yolov7\yolov7-main\utils\google_utils.py", line 31, in attempt_download
tag = subprocess.check_output('git tag', shell=True).decode().split()[-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
IndexError: list index out of range