NotFoundError:Tensor name "incept5b_1/..." not found in checkpoint files /home/cqh2/...

报错描述:

               在运行如下代码时报错,NotFoundError:Tensor name "incept5b_1/..." not found in checkpoint files /home/cqh2/...


NotFoundError:Tensor name


NotFoundError:Tensor name


报错原因:

       纠结了非常久,结果发现是TensorFlow版本问题,这个demo的TensorFlow环境是0.8.0的,更高的就不行了


解决办法:

       先卸载本机原先高版本的TensorFlow,再安装0.8.0的

                    

sudo pip uninstall tensorflow  

pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
                   

                     


你可能感兴趣的:(点滴记录,TensorFlow)