tensorflow关于包的调取出现的错误解决方法
使用tensorflow 与普通的python环境掉包有点不同,以下是自己在参考网上许多的解决办法后的有效解决方法。
cmd环境下:
activate tensorflow
conda install matplotlib
解决tensorflow报错ValueError: Variable conv1/weights already exists, disallowed.(模型重加载的问题)
在跑完mnist_train.py之后立马跑mnist_gen.py会出现报错 原因是此时的ipython会保留运行mnist_train的变量。
解决办法:重新打开一个ipython再运行程序
今日深度学习:minist_DL
转载github代码:https://github.com/lpty/tensorflow_tutorial/tree/master/mnistGan
参考资料:https://github.com/NELSONZHAO/zhihu/tree/master/mnist_gan