- 博客(6)
- 收藏
- 关注

原创 windows下,编译c++版本的tensorflow(cpu版本)
花了整整一天的时间,终于编译好了c++版本的tensorflow,下面将给出我的整个编译过程,我只能说过程很艰辛,查了很多资料,不过最后总算是成功了,功夫不负有心人。下面将给我的编译过程:参考博客:https://blog.youkuaiyun.com/jiugeshao/article/details/79144438https://www.jianshu.com/p/3549c8e9cc15...
2019-09-02 10:34:10
4720
4
原创 从tfrecords中读取数据时,运行sess.run()时卡住,无法继续运行下去
遇到好几次这个问题了,每次都不长记性,检查错误检查了半天才反应过来运行错误: 从tfrecords中读取数据时,比如把读取的数据赋给变量test_x,test_y 当运行sess.run([test_x,test_y])时卡住,无法继续运行下去解决方案: 添加下面两行代码: coord = tf.train.Coordinator() #创建一个...
2019-06-17 17:38:00
3203
2
原创 Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
代码抛出异常:Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.python解释器显示的错误是:_7_shuffle_batc...
2019-06-11 16:27:15
1426
1
原创 You must feed a value for placeholder tensor 'Placeholder_2' with dtype float
tensorflow中训练网络模型的时候,抛出异常:异常:You must feed a value for placeholder tensor 'Placeholder_2' with dtype float [[node Placeholder_2 (defined at train.py:59) ]] 出现上述异常的原因:我们从上面的信息中可以得到,我们的代码中 定义了一个...
2019-06-05 14:33:48
4179
原创 Chunk at 0000001313C1A500 of size 512
错误现象:2019-06-04 10:14:12.854238: I tensorflow/core/common_runtime/bfc_allocator.cc:632] Chunk at 000000130B200000 of size 2562019-06-04 10:14:12.856756: I tensorflow/core/common_runtime/bfc_alloca...
2019-06-04 11:35:28
1448
原创 _4_shuffle_batch_1/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
在tensorflow中,训练过程中,第一个epoch结束之后出现上诉错误:错误原因是:变量名被重新赋值的问题如下写法:train_x,train_y=session.run([train_x,train_y])修改方式:将等号左边的变量名重新起一个,以确保和有等号右边的变量名不同例如:train_x_temp,train_y_temp=session.run([tra...
2019-05-28 16:16:15
2077
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人