Ranking666 / Yolov5-Processing

Multi-backbone, Prune, Quantization, KD
155 stars 28 forks source link

训练报错 #2

Open xutao1997 opened 2 years ago

xutao1997 commented 2 years ago

Traceback (most recent call last): File "D:/pycharmProject/Yolov5-Processing-main/train.py", line 623, in main(opt) File "D:/pycharmProject/Yolov5-Processing-main/train.py", line 520, in main train(opt.hyp, opt, device, callbacks) File "D:/pycharmProject/Yolov5-Processing-main/train.py", line 356, in train results, maps, _ = val.run(data_dict, File "C:\Users\xt\anaconda3\envs\pytorch-yolov5\lib\site-packages\torch\autograd\grad_mode.py", line 28, in decorate_context return func(*args, *kwargs) File "D:\pycharmProject\Yolov5-Processing-main\val.py", line 224, in run callbacks.run('on_val_image_end', pred, predn, path, names, img[si]) File "D:\pycharmProject\Yolov5-Processing-main\utils\callbacks.py", line 76, in run logger['callback'](args, **kwargs) File "D:\pycharmProject\Yolov5-Processing-main\utils\loggers__init__.py", line 102, in on_val_image_end self.wandb.val_one_image(pred, predn, path, names, im) File "D:\pycharmProject\Yolov5-Processing-main\utils\loggers\wandb\wandb_utils.py", line 459, in val_one_image if self.current_epoch % self.bbox_interval == 0: AttributeError: 'WandbLogger' object has no attribute 'bbox_interval' 这个该怎么解决呀,卡了好久