10 2019 档案
摘要:数据增强策略: 1 在线模式--训练中 随机裁剪(完全随机,四个角+中心) crop def random_crop(img, scale=[0.8, 1.0], ratio=[3. / 4., 4. / 3.], resize_w=100, resize_h=100): """ 随机裁剪 :par
阅读全文
摘要:***************************************** .zip 文件 压缩: zip xxx.zip xxx # 目录结构为一层 zip -r xxx.zip xxx/ # 目录结构为多层 解压缩: unzip xxx.zip [-d dst/] # 解压到指定目录,
阅读全文
摘要:/* 合并多图像矩阵到一个大矩阵上 */ Mat mergeImgMats(vector<Mat> img_mats, int per_width, int per_height, int cols, int split_w) { int count = img_mats.size(); CV_Assert(count > 0); // 定义 行 int rows = count % cols =
阅读全文
摘要:#pragma once #include <iostream> #include <io.h> #include <direct.h> #include <time.h> #include <string> #include <vector> #include <windows.h> using
阅读全文
摘要:1 准备一个定时释放内存的命令:freemem.sh 2 将执行任务写入 定时任务 3 重新启动定时任务 4 完成,以后再也不会死机了。。。。。。
阅读全文
摘要:环境:ubuntu18 + nvidia 430 + cuda 10.0 + cudnn7.6.0 + tensorflow-gpu 2.0.0 调用 layers.Conv2D() 就报错,报错信息: 尝试过 升级cuda到10.1 还是报错,经过一番查找,发现只要在开头设置下 就可以了, 在开头
阅读全文
摘要:人脸识别:mtcnn (依赖opencv和tensorflow) 人脸对齐:face-alignment 国内镜像: 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技
阅读全文
摘要:1 安装nvidia驱动 1.1 设置root sudo passwd 123 1.2 检测nvidia显卡 ubuntu-drivers devices (base) dxs@dxs-ubuntu:~$ ubuntu-drivers devices == /sys/devices/pci0000:
阅读全文
摘要:Faster R-CNN论文地址: https://arxiv.org/pdf/1506.01497.pdf 1 概述: Fast R-CNN仍然使用selective search, 会存在一些问题:1 使用selective search获取候选框, 这是在CPU上运算的, 会出现性能瓶颈, 没
阅读全文