leeyoshinari / YOLO_v2

The implementation of YOLO v2 with TensorFlow
GNU General Public License v3.0
80 stars 38 forks source link

train_val does not work #4

Closed FrancescoSaverioZuppichini closed 6 years ago

FrancescoSaverioZuppichini commented 6 years ago

Hello,

when I run

python3 train_val.py

I get the following error:

Traceback (most recent call last):
  File "train_val.py", line 17, in <module>
    from yolo.yolo_v2 import yolo_v2
  File "/Users/vaevictis/Desktop/yolo-docker/YOLO_v2/yolo/yolo_v2.py", line 141
    best_box = tf.to_float(tf.equal(iou, tf.reduce_max(iou, axis = 3, True)))
                                                                     ^
SyntaxError: positional argument follows keyword argument
FrancescoSaverioZuppichini commented 6 years ago

So?