12 2018 档案

摘要:#!/usr/bin/env pythonimport tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_datamnist = input_data.read_data_sets("MNIST_data",o 阅读全文
posted @ 2018-12-18 20:00 rongye 阅读(240) 评论(0) 推荐(0)
摘要:#!/usr/bin/env pythonimport tensorflow as tfinput_num = 64output_num = 2def create_file(path,output_num): #write = tf.python_io.TFRecordWriter('train. 阅读全文
posted @ 2018-12-16 09:59 rongye 阅读(592) 评论(0) 推荐(0)
摘要:"""Please note, this code is only for python 3+. If you are using python 2+, please modify the code accordingly."""import tensorflow as tfimport numpy 阅读全文
posted @ 2018-12-15 20:43 rongye 阅读(253) 评论(0) 推荐(0)
摘要:"""Please note, this code is only for python 3+. If you are using python 2+, please modify the code accordingly."""import tensorflow as tfimport numpy 阅读全文
posted @ 2018-12-15 20:07 rongye 阅读(264) 评论(0) 推荐(0)