Tensorflow
小哥哥th
机器学习\计算机视觉
展开
-
使用Tensorflow来读取训练自己的数据(三)
本文详解training.py是如何编写的。import os import numpy as np import tensorflow as tf import input_data import model N_CLASSES = 2 # 二分类问题,只有是还是否,即0,1 IMG_W = 208 # resize the image, if the input image is too ...原创 2018-05-10 12:06:19 · 1912 阅读 · 4 评论 -
使用Tensorflow来读取训练自己的数据(二)
接上一篇,继续分析,model.py,也就是模型的构建。两个卷积层,两个池化层,以及后面的全连接层怎么通过tensorflow定义的。import tensorflow as tf def inference(images, batch_size, n_classess): #conv1,shape=[kernel size, kernel size, channels, kernel ...原创 2018-05-10 11:11:38 · 1211 阅读 · 3 评论 -
使用Tensorflow来读取训练自己的数据(一)
本文的代码以及思路都是参考别人的,现在只是整理一下思路,做一些解释,毕竟是小白。原创 2018-05-08 21:27:27 · 3970 阅读 · 7 评论