自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(40)
  • 资源 (6)
  • 收藏
  • 关注

原创 遍历文件名

# -*- coding: utf-8 -*-from __future__ import unicode_literalsimport osimport numpy as npimport cv2 as cvimport sklearn.preprocessing as spfd = cv.CascadeClassifier('../../data/haar/face.xml')...

2019-03-15 08:38:40 512

原创 matlab注意事项,服务器命令

保存resize后的图像到指定路径时,应用imwrite函数,save函数不能使用`服务器后台运行命令大全https://blog.csdn.net/miner_zhu/article/details/81315974在这里插入代码片`...

2019-03-10 15:07:51 311

原创 记录解压zip文件

zip文件有30G,unzip不能用,改用jar解压unzip 解压 JPEGImages.zip 文件时,异常提示如下:Archive: dataset_test_rgb.zipEnd-of-central-directory signature not found. Either this file is nota zipfile, or it constitutes one disk of a multi-part archive. In thelatter case the central

2020-10-15 10:38:04 427

原创 gitlab

gitlab代码提交命令https://blog.csdn.net/litianxiang_kaola/article/details/74075151

2020-08-17 15:22:56 144

原创 pytorch加载预训练模型,去module;测试时更改cuda版本号

or

2020-02-26 16:02:03 1357

原创 MNN+windows10+vs2015编译

1.17记录

2020-01-17 15:41:07 1631

原创 caffe+windows10+cuda9.0+cudnn7+vs2015编译

caffe编译1.下载伯克利caffe的windows分支版本,github链接:https://github.com/BVLC/caffe/tree/windows,用git下载,记得切换分支1.git clone https://github.com/BVLC/caffe.git 2. git checkout windows2.(python=2.7 or 3.5忽略)如果自己电脑py...

2020-01-16 18:07:43 639 6

转载 opencv中opencv_world412.lib配置

https://blog.csdn.net/m0_37350758/article/details/82490904

2020-01-14 09:01:49 1111

原创 caffe中加centerloss层

记录github上有centerloss编译到caffe中train_val_txt.prototxt:layer{name:“cen_loss”type:“CenterLoss”bottom:“pool10_split_1”bottom:“label_split_1”top:“center_loss”loss_weight:0.06center_loss_param {cl...

2019-12-17 20:26:57 170

原创 pycocotools安装;caffe训练注意事项

安装见:https://www.jianshu.com/p/de455d6533011.caffe训练时数据类型为imagedata时,训练单通道图像加上 is_color:false

2019-12-12 10:25:21 130

转载 cmake变量名含义

https://www.cnblogs.com/linuxAndMcu/p/10670591.html

2019-11-01 10:40:04 325

转载 cmake

https://blog.csdn.net/kai_zone/article/details/82656964

2019-10-24 10:09:35 73

原创 内存问题

服务器训练相关问题后台运行:nohup python -u train.py > train.log >&1 &kill pid后无法释放问题,是因为python里面的组件释放不干净,运行一下命令ps aux|grep pythonsudo kill -9 pid待续。。...

2019-10-15 10:52:25 115

原创 C++讲unsigned char型数据保存

cv::Mat user_mat(srcimg2.rows, srcimg2.cols, CV_8UC3, user_input); //if (user_mat.empty()) { //} srcimg2.copyTo(user_mat); //cv::imshow("result", user_mat); //cv::waitKey(); //fo...

2019-09-18 09:57:35 1942

原创 C++读取文件夹中的文件

#include <stdlib.h>#include <stdio.h>#include <math.h>#include <iostream>#include <io.h>#include <vector>#include <sstream>#include <fstream>#in...

2019-09-03 11:19:12 1486

原创 anconda

https://repo.continuum.io/archive/

2019-07-15 09:54:41 311

原创 MYSQL命令大全

1、库的基本操作 1、查看已有的库 show databases; 2、创建库 create database 库名 [character set utf8]; 3、查看创建库的语句(字符集) show create database 库名; 4、查看当前所在库 select database(); 5、切换库 use 库名; 6、查看库中已有...

2019-07-12 09:30:00 127

原创 caffe前向传播

import osimport sysimport numpy as npsys.path.insert(0,"/home/jiashuaihe/Downloads/caffe/python")deploy = "deploy.prototxt"caffe_model = "./model/pred_iter_3260.caffemodel"img1 = "./test_resi...

2019-06-17 10:22:56 360

转载 caffe多标签训练时注意的点

https://blog.csdn.net/m0_37192554/article/details/85702123

2019-06-03 10:54:15 156

转载 Error LNK2001 无法解析的外部符号 的几种情况及解决办法

https://blog.csdn.net/shenyulv/article/details/6699836

2019-05-29 11:07:51 10772

原创 更改图片像素

import cv2 as cvdef main():path = “./tupian.jpg”path2 = “./tupian2.jpg”image = cv.imread(path)image_resize = cv.resize(image,(256,256))cv.imwrite(path2,image_resize)main()

2019-05-28 10:40:33 644

转载 torch版本的降维和升维

原文地址:http://www.mamicode.com/info-detail-2561432.htmlunsqueeze(arg)是增添第arg个维度为1,以插入的形式填充squeeze(arg)是删除第arg个维度(如果当前维度不为1,则不会进行删除)...

2019-05-27 09:26:49 16207

原创 anaconda换源和恢复默认源

恢复默认源:conda config --remove-key channels换源:(清华源)conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config --add channels https://mirrors.tuna.tsinghua.edu.c...

2019-05-14 16:54:43 40006

转载 docker和container

https://blog.csdn.net/u012149181/article/details/80558643

2019-05-09 10:43:34 1986

转载 查看tensorflow版本号

https://blog.csdn.net/sinat_29957455/article/details/80636683

2019-05-06 16:09:48 5503

原创 Linux下载zip

wget -c http://images.cocodataset.org/annotations/annotations_trainval2014.zipcurl -LO http://images.cocodataset.org/annotations/annotations_trainval2014.zip

2019-04-12 12:03:32 4301

原创 opencv在C++中配置属性

C/C++:常规:附加包含目录 E:\opencv\build\include;E:\opencv\build\include\opencv;E:\opencv\build\include\opencv2链接器:常规:E:\opencv\build\x64\vc14\lib(vc14对应的是vs2015版)输入:opencv_world341.lib;opencv_world341d.li...

2019-03-29 17:01:48 778

原创 windows中查看某文件夹下所有jpg文件名称,输出到txt

dir /s/b *.jpg &gt; …\list.txt

2019-03-12 14:38:49 1841

转载 卷积核计算

2019-03-12 08:35:35 2126

转载 损失函数

https://blog.csdn.net/g11d111/article/details/76639460

2019-03-11 21:04:47 106

原创 caffe的prototxt的可视化工具

http://ethereon.github.io/netscope/#/editor

2019-03-11 15:54:43 435

原创 特征存储加提取

void addFtr(std::string FtrPath, std::string FaceName, unsigned char *pOutFeature){ face_Ftr faceID; faceID.name = FaceName; for (int i = 0; i &lt; 1032; i++) { faceID.Ftr[i] = ...

2019-03-01 14:18:14 460

原创 pycharm显示中文

在正文开头增加两行# -*- coding:utf-8 -*-from __future__ import unicode_literals

2019-02-28 17:39:33 1093 2

原创 float型转换为string型

2019-02-20 08:44:26 4981

转载 C++中classifier.cpp文件解析

http://blog.csdn.net/hjimce/article/details/48933845

2019-01-22 14:09:46 307

转载 C++中箭头和.的区别

转载自https://blog.csdn.net/wangrunmin/article/details/7853092

2019-01-18 15:24:12 2285 1

原创 杂项

ifndef用于头文件可以被多个cpp文件引用定义函数的时候函数重载,参数类型不一样,调用的是不同的函数http://www.runoob.com/cplusplus/cpp-overloading.html

2019-01-18 10:48:23 150

原创 MATLAB将csv文件转换成mat文件

注意的一点就是:在保存到指定目录下的mat文件时,必须用括号,不用括号,保存不进去|path = ‘E:\renqunjishu\crowdcount-stackpool\data\cc\shanghaitech_part_A_patches_9\train_den’;path2 = [path ‘*.csv’];file_names = dir(path2);for i = 1:leng...

2019-01-17 10:36:42 18872 7

原创 安装包百度云网盘链接

pycharm安装包链接:链接:https://pan.baidu.com/s/1oITziPCIhWl1sYIM598Vrw提取码:52imMySQL相关包:链接:https://pan.baidu.com/s/1dLICTI1I2Zbcxu9kIcqv_g提取码:azj43.机器学习安装包操作详解:链接:https://pan.baidu.com/s/1FJivCgf5mm...

2019-01-14 16:19:08 54041 1

原创 Python将npy文件转换为mat文件

Python将npy文件转换为mat文件用到的模块有numpy,scipy,osimport numpy as npimport scipy.io as ioimport osdef npy_mat(npy_path,mat_path): npyname_path = os.listdir(npy_path) for npyname in npyname_path: ...

2019-01-14 16:07:38 9804 3

dmap_for_fdst.py

人群密度将SHA数据集归一化到固定尺寸,黑边填充,图像位于中心,读取mat文件,对应尺寸写成npy文件

2020-06-19

resize.zip

将opencv编入exe图像中,运行命令 resize.exe photo.jpg 0.7 jpg,将photo.jpg缩放0.7倍,保存成jpg格式的文件,还可以自己修改图片保存类型

2020-01-17

eval_angle.zip

人脸矫正,C++代码,自动识别人脸角度并进行矫正,用在检测之前

2019-09-29

opencv3.14所依赖的两个动态库

opencv3.14依赖的两个动态库,C++编译时依赖opencv314.dll,调试的时候依赖opencv314d.dll

2019-09-03

duilib.rar

duilib_Static.lib文件包有3个文件,分为64位编译版本,32位debug版本和32位release版本,release编译,所处环境为windows10+vs2015。

2019-08-14

opencv C++显示中文

不需要额外的freetype等第三方包,直接在编译时,加上包含的头文件和cpp文件,即可显示中文

2019-02-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除