![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DL
阿喵百晓生
是个小可爱
展开
-
制作自己的tfrecords数据集
最近想要制作自己的图像数据集,看了很多网上的教程,但是坑太多。。。。现在为了让大家少踩坑,附上全部代码,其中包括tfrecords格式数据集的制作与读取。import osos.environ['TF_CPP_MIN_LOG_LEVEL']='2'import tensorflow as tf from PIL import Image#制作数据自己的tfrecords数...原创 2017-04-09 16:16:35 · 2544 阅读 · 1 评论 -
在Linux操作系统下的安装Tensorflow
1、必不可少的python-pip和python-dev在窗口中输入命令:$ sudo apt-get install python-pip python-dev2、此时就可以安装Tensorflow了,指令如下:#Ubuntu/Linux64-bit, CPU only, Python 2.7$export TF_BINARY_URL=https://stor原创 2018-01-14 13:59:36 · 578 阅读 · 0 评论