自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 windows下,编译c++版本的tensorflow(cpu版本)

花了整整一天的时间,终于编译好了c++版本的tensorflow,下面将给出我的整个编译过程,我只能说过程很艰辛,查了很多资料,不过最后总算是成功了,功夫不负有心人。下面将给我的编译过程:参考博客:https://blog.csdn.net/jiugeshao/article/details/79144438https://www.jianshu.com/p/3549c8e9cc15...

2019-09-02 10:34:10 4557 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 3095 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 1340 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 4024

原创 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 1401

原创 _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 2031 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除