自定义博客皮肤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)
  • 收藏
  • 关注

原创 ubuntu使用bazel编译安装tensorflow c++

按照官网步骤1.下载安装cuda,cudnn(注意版本,我的是cuda9.0+cudnn7.5)2.下载安装bazel,也需要注意版本3.下载tensorflow源码https://github.com/tensorflow/tensorflow4.进入tensorflow文件夹,cd tensorflow./configureconfig按照提示选择,若有gpu,怎在选择cuda...

2019-03-30 00:06:59 2329 1

原创 python 解析xml文件

文件1.xml如下:<annotation> <folder>fist</folder> <filename>0.png</filename> <path>E:/data/0.png</path> <source> <database>Unknown</database&...

2019-03-19 20:55:24 189

转载 tfrecords

参考链接

2019-03-16 16:19:39 107

原创 tf:failed to alloc 268435456 bytes on host: CUDA_ERROR_OUT_OF_MEMORY

tensorflow/core/framework/allocator.cc:101] Allocation of X exceeds 10% of system memory. 或者 tensorflow.python.framework.errors_impl.InternalError: Dst tensor is not initialized 解决办法:参考链接:https://git...

2019-03-16 14:32:04 2329

原创 tf恢复模型

文件目录如下:恢复模型import tensorflow as tfimport numpy as np#with tf.Session() as sess:sess = tf.Session()saver = tf.train.import_meta_graph('model/gesture.meta')saver.restore(sess, tf.train.latest_ch...

2019-03-14 23:25:28 329 1

原创 clion CMakeLists.txt 编写

cmake_minimum_required(VERSION 3.12)project(p1)set(CMAKE_CXX_STANDARD 14)#添加动态/静态链接库liblink_directories(&quot;C:/Program Files (x86)/Intel/RSSDK/lib&quot;)#添加include目录include_directories(&quot;C:/Program Fil...

2019-03-06 20:18:08 2885

空空如也

空空如也

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

TA关注的人

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