摘要: 参考:https://blog.csdn.net/ebowtang/article/details/43094041 代码运行结果图: 2018-04-2211:13:09 阅读全文
posted @ 2018-04-22 11:14 fourmii 阅读(3179) 评论(0) 推荐(0) 编辑
摘要: labelme_to_dataset 指令的代码实现: show.py文件 myHe.m 文件 阅读全文
posted @ 2018-04-18 15:03 fourmii 阅读(6708) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-04-15 19:04 fourmii 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 分类的数据大小:1.2million 张,包括1000个类别。 网络结构:60million个参数,650,000个神经元。网络由5层卷积层,其中由最大值池化层和三个1000输出的(与图片的类别数相同)全链接层组成。 选用非饱和神经元和高性能的GPU来增强卷积操作。为防止在全链接层发生过拟合,我们进 阅读全文
posted @ 2018-03-03 21:09 fourmii 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 时域下的一维Gabor滤波器: 可以将Gabor滤波器看作是两个输出两个相位的滤波器,分别在实数域和虚数域上。 实数域上滤波器为: 虚数域上滤波器为: 傅里叶变换为频域: 上述两个滤波器对频率敏感,为了获得一个对相位不敏感,而且对正弦输入无正面响应的响应,因此,通过计算两个滤波器输出的和的平方根来得 阅读全文
posted @ 2018-02-27 15:09 fourmii 阅读(1151) 评论(0) 推荐(0) 编辑
摘要: with open('DATA.txt') as reader, open('newfile.txt', 'w') as writer: for index, line in enumerate(reader): if index % 20 == 0: writer.write(line) 阅读全文
posted @ 2018-02-19 14:50 fourmii 阅读(189) 评论(0) 推荐(0) 编辑
摘要: from sklearn.externals import joblib from sklearn.model_selection import train_test_split import numpy as np import cv2 import pylab as pl path = u'testingData16.txt' data0 = np.loadtxt(path,dtype =... 阅读全文
posted @ 2018-02-19 14:47 fourmii 阅读(379) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- import numpy as np from sklearn import svm from sklearn.model_selection import train_test_split from sklearn.externals import joblib from sklearn.tree import DecisionTreeClas... 阅读全文
posted @ 2018-02-19 14:45 fourmii 阅读(440) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- """ 将图片转换生成的txt文件进行格式化处理 """ import os import re import sys def txtChange(): ifn = r"extract.txt"#待处理的txt文件 ofn = r"testingData.txt"#处理好后生成的txt文件 infile = o... 阅读全文
posted @ 2018-02-19 14:39 fourmii 阅读(431) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- #2018-2-19 14:30:30#Author:Fourmi_gsj import cv2 import numpy as np import pylab as pl from PIL import Image import skimage.io as io from skimage import data_dir,data,filters,... 阅读全文
posted @ 2018-02-19 14:32 fourmii 阅读(1363) 评论(0) 推荐(0) 编辑