yolo3_tensorflow icon indicating copy to clipboard operation
yolo3_tensorflow copied to clipboard

Train报错

Open GuanxiongLiu opened this issue 4 years ago • 1 comments

运行cnn_full的训练时出错,我目前在debug,如果作者有遇到过,请告诉我,谢谢🙏

python train.py -n cnn -t False -e 200 -b 4 -lr 1e-4 -d False --anchor_path ./model_data/yolo_ anchors.txt File "train.py", line 182 exec('map_with_iou{} = tf.placeholder(tf.float32)'.format(int(iou * 100))) SyntaxError: unqualified exec is not allowed in function 'train' because it contains a nested function with free variables

GuanxiongLiu avatar Mar 04 '20 23:03 GuanxiongLiu

你好,我没遇到过这种问题,注意一下tensorflow版本和python版本?

GuodongQi avatar Mar 14 '20 01:03 GuodongQi