Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train报错 #19

Open
GuanxiongLiu opened this issue Mar 4, 2020 · 1 comment
Open

Train报错 #19

GuanxiongLiu opened this issue Mar 4, 2020 · 1 comment

Comments

@GuanxiongLiu
Copy link

运行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

@GuodongQi
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants