随笔分类 -  python

摘要:#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/02/11 21:44 # @Author : dangxusheng # @Email : dangxusheng163@163.com # @File : download_ 阅读全文
posted @ 2020-07-30 22:14 dangxusheng 阅读(556) 评论(0) 推荐(0) 编辑
摘要:#!/usr/bin/env python # -*- coding:utf-8-*- # file: {NAME}.py # @author: jory.d # @contact: dangxusheng163@163.com # @time: 2020/04/10 19:42 # @desc: 阅读全文
posted @ 2020-04-10 21:34 dangxusheng 阅读(681) 评论(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 阅读(1579) 评论(1) 推荐(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 阅读(1729) 评论(1) 推荐(0) 编辑
摘要:环境:ubuntu18 + nvidia 430 + cuda 10.0 + cudnn7.6.0 + tensorflow-gpu 2.0.0 调用 layers.Conv2D() 就报错,报错信息: 尝试过 升级cuda到10.1 还是报错,经过一番查找,发现只要在开头设置下 就可以了, 在开头 阅读全文
posted @ 2019-10-11 21:55 dangxusheng 阅读(7537) 评论(0) 推荐(2) 编辑
摘要:人脸识别:mtcnn (依赖opencv和tensorflow) 人脸对齐:face-alignment 国内镜像: 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技 阅读全文
posted @ 2019-10-09 08:50 dangxusheng 阅读(1371) 评论(0) 推荐(0) 编辑
摘要:1 安装nvidia驱动 1.1 设置root sudo passwd 123 1.2 检测nvidia显卡 ubuntu-drivers devices (base) dxs@dxs-ubuntu:~$ ubuntu-drivers devices == /sys/devices/pci0000: 阅读全文
posted @ 2019-10-08 20:17 dangxusheng 阅读(860) 评论(0) 推荐(0) 编辑
摘要:# coding=utf-8 # !/usr/bin/env python ''' author: dangxusheng desc : 动态分页抓取 游民星空 的资讯 date : 2018-08-29 ''' import requests from bs4 import BeautifulSoup import json import time url ... 阅读全文
posted @ 2018-11-09 21:37 dangxusheng 阅读(455) 评论(0) 推荐(0) 编辑
摘要:# coding=utf-8 # !/usr/bin/env python ''' author: dangxusheng desc : 稍微有点难度,需要多次请求获取key date : 2018-08-29 ''' # 导入模块 import requests from lxml import 阅读全文
posted @ 2018-11-09 21:35 dangxusheng 阅读(2499) 评论(0) 推荐(0) 编辑
摘要:# coding=utf-8 # !/usr/bin/env python ''' author: dangxusheng desc : 下载校花网上的个人信息:名字-学校-图片地址-点赞数 date : 2018-08-29 ''' # 导入模块 import requests from lxml import etree import json #准备全局变... 阅读全文
posted @ 2018-11-09 21:33 dangxusheng 阅读(286) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示