DataXujing / YOLO-v5

:art: Pytorch YOLO v5 训练自己的数据集超详细教程!!! :art: (提供PDF训练教程下载)
GNU General Public License v3.0
913 stars 196 forks source link

出现未知变量 #15

Open zhangzonghong opened 4 years ago

zhangzonghong commented 4 years ago

Traceback (most recent call last): File "G:/YOLO-v5-master/train.py", line 399, in train(hyp) File "G:/YOLO-v5-master/train.py", line 201, in train tb_writer.add_histogram('classes', c, 0) NameError: name 'tb_writer' is not defined 这是报错的原因,'tb_writer'哪来的呢,没有定义

DataXujing commented 4 years ago

tensorboard.....