- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 python matplotlib.pyplot 显示中文title等参数
一种简单的做法是每次在import matplotlib.pyplot的时候设置相应参数: # -*- coding: utf-8 -*import matplotlib.pyplot as pltplt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签plt.rcParams['axes.unicode_minus']=Fals...
2017-06-22 21:13:25 15264 1
原创 tensorflow 官网教程 - Deep MNIST for Experts - 代码及注解
import osos.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'import tensorflow as tf# Import dataset for experimentfrom tensorflow.examples.tutorials.mnist import input_datamnist = input_data.read_data_sets
2017-06-10 21:53:45 596
原创 tf.nn.conv2d 参数含义及结果维度
# for image: number of images x height x width x channels# for filter: height x width x channels x number of filtersinput = tf.Variable(tf.random_normal([1,3,3,5]))filter = tf.Variable(tf.random_n
2017-06-10 19:37:19 4215
原创 tensorflow官方教程 - MNIST for ML Beginers - 代码及注释
import osos.environ['TF_CPP_MIN_LOG_LEVEL']='2'import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_datamnist = input_data.read_data_sets("MNIST_data/", one_hot=True)# I
2017-06-10 15:23:31 298
原创 The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available...
跑 tensorflow 官方教程时报warning:2017-06-08 22:36:18.809242: W tensorflow/core/platform/cpu_feature_guard.cc:45]The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are avail
2017-06-08 22:40:05 7417 2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人