摘要: 参考URL: https://blog.csdn.net/z704630835/article/details/82992036 1 下载脚本 # 导入需要的库 import requests import os import json # 爬取百度图片,解析页面的函数 def getManyPag 阅读全文
posted @ 2020-03-29 18:39 dangxusheng 阅读(538) 评论(0) 推荐(0) 编辑
摘要: 原理: https://www.cnblogs.com/liaohuiqiang/p/9226335.html 使用: https://ptorch.com/news/139.html https://blog.csdn.net/zhuiqiuk/article/details/87286713 p 阅读全文
posted @ 2020-03-25 23:17 dangxusheng 阅读(208) 评论(0) 推荐(0) 编辑
摘要: class Classifier(nn.Module): def __init__(self, in_size, in_ch): super(Classifier, self).__init__() self.layer1 = nn.Sequential( nn.Conv2d(in_ch, 3, 3 阅读全文
posted @ 2020-03-25 22:34 dangxusheng 阅读(3815) 评论(0) 推荐(0) 编辑
摘要: 1 卷积操作 2 反卷积操作 3 LSTM 4 GRU 5 Loss 6 optimizer 阅读全文
posted @ 2020-02-18 11:42 dangxusheng 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 1 升级包 sudo apt-get update 2 卸载nvidia-385 旧驱动 3 安装新驱动 NVIDIA 440 https://blog.csdn.net/zhang970187013/article/details/81012845 4 安装cuda 9.0 5 安装cudnn 7 阅读全文
posted @ 2020-02-16 15:08 dangxusheng 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 首先我们看看 2 维平面中姿态矩阵是如何平移、旋转和放缩物体: from: https://www.sohu.com/a/226611009_633698 def random_rotate_xy(img, box, angle_range=(-25, 25), scale_range=(0.80, 阅读全文
posted @ 2020-02-16 14:42 dangxusheng 阅读(1007) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/02/04 20:08 # @Author : dangxusheng # @Email : dangxusheng163@163.com # @File : isLand_lo 阅读全文
posted @ 2020-02-05 22:45 dangxusheng 阅读(1525) 评论(1) 推荐(0) 编辑
摘要: ubuntu docker 使用命令: 1 拉取镜像 docker pull imageID 2 运行docker (不带GPU) -v 选择挂载目录 docker run -v /home/111 -it imageID bash 3 运行docker (带GPU, 使用nvidia-smi) 此 阅读全文
posted @ 2020-01-19 21:03 dangxusheng 阅读(429) 评论(0) 推荐(0) 编辑
摘要: c++ 实现版本: 1 人脸检测 1.1 使用mtcnn-ncnn进行人脸检测,会输出face box和landmark5 face box: [x1,y1,x2,y2] landmark5: [left_eye,right_eye, nose, month_left, month_right] 2 阅读全文
posted @ 2019-12-28 21:13 dangxusheng 阅读(1625) 评论(1) 推荐(0) 编辑
摘要: 1 dlib 依赖: dlib-19.18 opencv-3.4.2 #include "common.h" #include "opencv_base.h" #include "helper.h" #include "run.h" // dlib include files #include <i 阅读全文
posted @ 2019-12-26 09:47 dangxusheng 阅读(681) 评论(0) 推荐(0) 编辑