eriklindernoren / PyTorch-YOLOv3

Minimal PyTorch implementation of YOLOv3
GNU General Public License v3.0
7.32k stars 2.63k forks source link

Why Traceback like this when run train.py #370

Open xwf12345678 opened 4 years ago

xwf12345678 commented 4 years ago

Traceback (most recent call last): File "D:\新建文件夹\PyTorch-YOLOv3\train.py", line 42, in logger = Logger("logs") File "D:\新建文件夹\PyTorch-YOLOv3\utils\logger.py", line 7, in init self.writer = tf.summary.FileWriter(logdir) AttributeError: module 'tensorboard.summary._tf.summary' has no attribute 'FileWriter'.

Why the error happens

visionxy commented 4 years ago

I replaced tensorflow 2.0.0 with 1.9.0 and solved the problem