摘要:
tf.nn.conv2d(value,filter,strides,[...]) 对于图片来说 value : 形状通常是np.array()类型的4维数组也称tensor(张量), (batch,height,width,channels) 可以理解为(图片样本的个数,高,宽,图片的颜色通道数) 阅读全文
摘要:
import tensorflow as tf #保存模型 saver = tf.train.Saver() saver.save(sess, "e://code//python//test//package_test//model.ckpt", global_step=step) #加载读取模型 阅读全文