printf_渣渣
高帅康
版本问题
pip install tensorflow@1.14.0
慕后端4279712
weixin_慕数据3463477
莫言于方
那就用cpu 重新训练呗
qq_Beloved意中人_0
weixin_慕姐8141443
weixin_慕姐8141443
I am guessing the instructor used TensorFlow 1.x but TensorFlow has released version 2. The function regarding how to load mnist has been changed.
I don't have pinyin input. Sorry about that.
慕移动335433
weixin_慕函数4185725
是uint8,不是
萧飞_
不然你再安TensorFlow试试。。。
萧飞_
慕设计1238291
超级大傻花_biu_biu
跑是都能跑起来,这个项目中比较耗费资源的是网络训练部分,配置高低只是影响训练时间,MNIST训练,8g内存足够,如果独显NVIDIA GPU加速几分钟搞定,如果只用amd cpu的话可能要几个小时。
weixin_慕仙1597413
你用谷歌浏览器打开看看
慕勒7575851
慕村90390
WSlearn
qq_莫非
是的嘞
qq_莫非
对应一下版本是不是不一样呀
合山川
你问题解决了吗 我也遇到同样的问题
weixin_慕尼黑6437405
sasaky
卸载tensorflow
pip uninstall tensorflow
安装tensorflow 1.14
pip install tensorflow==1.14.0
qq_莫非
HuangStra
qq_格格BLUE_0
Shelton117
慕后端2457646
同名 了吧,应该是
S扶摇S
解决了吗? 我的输出一个矩阵, 结果显示不到web页面上
jjboy
WARNING:tensorflow:From D:/Python/workspace/Pybasis/minist/Handwritten_digit_main.py:11: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.WARNING:tensorflow:From D:\Python\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.Instructions for updating:Use standard file APIs to check for files with this prefix.Traceback (most recent call last): File "D:/Python/workspace/Pybasis/minist/Handwritten_digit_main.py", line 12, in <module> saver.restore(sess,"data/regression.ckpt") File "D:\Python\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1278, in restore compat.as_text(save_path))ValueError: The passed save_path is not a valid checkpoint: data/regression.ckptProcess finished with exit code 1