上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: writer =tf.summary.FileWriter("logs/", sess.graph) >tensorboard --logdir=D://logs http://localhost:6006/ http://blog.csdn.net/s_sunnyy/article/details/70999462 http://blog.csdn.net/lijjianqing/articl... 阅读全文
posted @ 2017-06-01 20:12 PirateLHX 阅读(4869) 评论(0) 推荐(0)
摘要: 为了使用国内镜像加速pip安装,需要如下修改: WIndows 7 在“C:\Users\用户名\AppData\Local\pip”文件夹下,新建文本文件,添加内容: import tensorflow as tf 报错为: Error importing tensorflow. Unless y 阅读全文
posted @ 2017-06-01 19:52 PirateLHX 阅读(3999) 评论(0) 推荐(0)
摘要: 一定要装VS2015 http://blog.csdn.net/include1224/article/details/53452824 http://blog.csdn.net/u013063153/article/details/54234197 阅读全文
posted @ 2017-05-28 13:41 PirateLHX 阅读(151) 评论(0) 推荐(0)
摘要: clc;close all;clear allc1=[2 2 2; 1 2 3];c2=[4 5 6; 3 3 4];c=[c1 c2];plot(c1(1,:),c1(2,:),'*',c2(1,:),c2(2,:),'*');axis([0 8 0 8]);hold onu=mean(c,2); 阅读全文
posted @ 2017-05-13 16:21 PirateLHX 阅读(150) 评论(0) 推荐(0)
摘要: 简单应用 clc;close all;clear all;x=[2 2 2 4 5 6; 1 2 3 3 3 4];plot(x(1,:),x(2,:),'o')axis([0 7 0 5])hold onxmean=mean(x,2);for i=1:2 x(i,:)=x(i,:)-xmean(i 阅读全文
posted @ 2017-05-13 15:42 PirateLHX 阅读(173) 评论(0) 推荐(0)
摘要: 人脸识别(mat见文件) clc;close all;clear allload('facedata.mat')person1=zeros(2576,10);for i=1:10 a=double(facedata{9,i}); person1(:,i)=reshape(a,2576,1);endp 阅读全文
posted @ 2017-05-13 15:41 PirateLHX 阅读(187) 评论(0) 推荐(0)
摘要: originalImg = imread('Fig0314(a)(100-dollars).tif'); tempImg = originalImg; figure; subplot(3,3,1); imshow(originalImg); title('原始图像'); height = size(originalImg,1); width = size(originalImg,2); for ... 阅读全文
posted @ 2017-03-10 20:25 PirateLHX 阅读(310) 评论(0) 推荐(0)
摘要: 一、List含义 List将元素按顺序储存在链表中. 与向量(vectors)相比, 它允许快速的插入和删除,但是随机访问却比较慢。 list 不仅是一个双向链表,而且是一个环状双向链表。 二、List用法 #include <list> using namespace std; 注意:list是一 阅读全文
posted @ 2016-12-03 23:55 PirateLHX 阅读(288) 评论(0) 推荐(0)
摘要: //插入元素//#include #include using namespace std; int main() { deque d; d.push_back(1);//尾部插入 d.push_back(2); d.push_back(3); d.push_front(10);//d.insert(d.begin()+1, 10);头部插入 ... 阅读全文
posted @ 2016-12-03 23:47 PirateLHX 阅读(449) 评论(0) 推荐(0)
摘要: (注意在这里边界条件的区别) 利用数学解答后的标准解为ue=-0.5x2+0.5; 阅读全文
posted @ 2016-11-30 19:31 PirateLHX 阅读(845) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页