各位大佬,小弟在自己的一元云主机上模仿实验室的【tensorflow深度学习破解验证码】,但在python train_captcha.py这一步出现了错误【TypeError: sigmoid_cross_entropy_with_logits() got an unexpected keyword argument 'labels'】,我想请问一下有谁遇到过这种情况吗,或者有谁成功的吗?
升级tensorflow版本
参考:https://github.com/tensorflow/tensorflow#installation
试用下面方法
pip install -U https://ci.tensorflow.org/view/Nightly/job/nightly-matrix-linux-gpu/TF_BUILD_IS_OPT=OPT,TF_BUILD_IS_PIP=PIP,TF_BUILD_PYTHON_VERSION=PYTHON2,label=gpu-linux/lastSuccessfulBuild/artifact/pip_test/whl/tensorflow_gpu-1.0.0rc1-cp27-none-linux_x86_64.whl
相似问题