python squeeze() Posted on 2018-07-12 | In python | 1import numpy as np 1a = np.arange(10).reshape(1,10) 1a array([[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]]) 1a.shape (1, 10) 1b = np.squeeze(a) 1b array([0, 1, 2, ... Read more »
Untitled Posted on 2018-07-11 | 1import numpy as np 1a = np.arange(10).reshape(1,10) 1a array([[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]]) 1a.shape (1, 10) 1b = np.squeeze(a) 1b array([0, 1, 2, ... Read more »
用python 简单处理图片(1) Posted on 2018-01-15 | In 转载 | 打算转载这一系列的教程到自己的blog,主要的目的就是为了自己学习python. 同时也能熟悉jupter notebook的使用一提到数字图像处理,可能大多数人就会想到matlab,但matlab也有自身的缺点: 1、不开源,价格贵 2、软件容量大。一般3G以上,高版本甚至达5G以上。 3、只能做 ... Read more »
安装 caffe(GPU版) Posted on 2018-01-07 | Ubuntu 16.04+CUDA8.0+cuDNN6.0+caffe之前安装过一次caffe,这次重新安装没想到又遇到很多问题,之前想写一下安装教程的,当时因为考虑到网上的教程已经有很多了,就没有着手去写。但是从这次的安装情况来看,还是需要认真记录一下安装的过程,以免下一次犯同样的错误,也是为了加 ... Read more »
Hello World Posted on 2018-01-05 | Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in ... Read more »