<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[csdn_sbregister的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/csdn_sbregister</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; csdn_sbregister]]></copyright><item><title><![CDATA[matplotlib plot python rgb2gry 显示灰度图像]]></title><link>https://blog.youkuaiyun.com/csdn_sbregister/article/details/78912296</link><guid>https://blog.youkuaiyun.com/csdn_sbregister/article/details/78912296</guid><author>csdn_sbregister</author><pubDate>Wed, 27 Dec 2017 14:57:36 +0800</pubDate><description><![CDATA[使用plt.imshow()显示的时候要注意，设置cmap参数为‘gray’
第一种方法，使用PIL的Image模块
from PIL import Image
lena_gray = Image.open('lena.jpg').convert('L')
plt.imshow(lena_gray, cmap='gray')


第二种方法，直接计算：import numpy as np]]></description><category></category></item><item><title><![CDATA[keras cifar-10 加载数据失败 的解决办法]]></title><link>https://blog.youkuaiyun.com/csdn_sbregister/article/details/78831776</link><guid>https://blog.youkuaiyun.com/csdn_sbregister/article/details/78831776</guid><author>csdn_sbregister</author><pubDate>Mon, 18 Dec 2017 12:24:31 +0800</pubDate><description><![CDATA[使用keras加载cifar-10数据集的时候需要消耗很长时间，而且还不一定能加载成功~~
原因大概是因为数据集有100多兆，down的过程中网络稍不稳定就废了。
解决办法是直接下载：http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz
迅雷下载的，很快就完了。
下载下来的文件放到~/.keras/datasets/ 目录下，然后将文]]></description><category></category></item><item><title><![CDATA[matplotlib的subplot使用]]></title><link>https://blog.youkuaiyun.com/csdn_sbregister/article/details/78802917</link><guid>https://blog.youkuaiyun.com/csdn_sbregister/article/details/78802917</guid><author>csdn_sbregister</author><pubDate>Thu, 14 Dec 2017 15:11:26 +0800</pubDate><description><![CDATA[官方docs：https://matplotlib.org/api/_as_gen/matplotlib.pyplot.subplots.html?highlight=subplots#matplotlib.pyplot.subplots

matplotlib.pyplot.subplots


Create a figure and a set of subplots

调用su]]></description><category></category></item></channel></rss>