/* This file contains definitions used by the Hex-Rays decompiler output. It has type definitions and convenience macros to make the output more reada ...
分类:
其他好文 时间:
2020-05-08 16:13:24
阅读次数:
107
图像分类是人工智能领域的一个热门话题,通俗来讲,就是根据各自在图像信息中反映的不同特征,把不同类别的目标区分开。图像分类利用计算机对图像进行定量分析,把图像或图像中的每个像元或区域划归为若干个类别中的某一种,代替人的视觉判读。 在实际生活中,我们也会遇到图像分类的应用场景,例如我们常用的通过拍照花朵 ...
分类:
编程语言 时间:
2020-05-08 16:09:36
阅读次数:
63
# -*- coding: utf-8 # File : pdfpdfplumberRead.py # Author : baoshan import pdfplumber path = "D:\\nianjian.md.pdf" path = "D:\\0.shenma\\01.聊城资料\\01. ...
分类:
其他好文 时间:
2020-05-08 14:39:38
阅读次数:
329
使用cat+uniq命令 其实就是统计每行重复多少次 格式:uniq [options][file1 [files]] uniq c file file中的重复行输出一次,并在每行前显示重复次数 uniq d file file中的重复行输出一次,但不输出唯一的行 uniq u file 只输出fi ...
分类:
系统相关 时间:
2020-05-08 13:28:17
阅读次数:
280
async down_1() { const { data: res } = await this.$http.get( "5003/sys/file/download?originalName=" + this.originalName_1 + "&" + "remoteFileName=" + ...
分类:
其他好文 时间:
2020-05-08 13:21:09
阅读次数:
225
打印文件路径: import os print(__file__)#获取当前程序路径,注意:这里打印出来的路径为相对路径 #动态获取绝对路径 print(os.path.abspath(__file__)) #这才是当前程序绝对路径 print(os.path.dirname(os.path.abs ...
分类:
编程语言 时间:
2020-05-08 11:27:15
阅读次数:
94
YII2进行MYSQL数据库操作时出现Database Exception – yii\db\Exception SQLSTATE[HY000] [2002] No such file or directory错误的解决方法 在进行数据库操作时出现如下类似错误,实际则是PHP配置文件php.ini中 ...
分类:
数据库 时间:
2020-05-08 11:26:43
阅读次数:
97
豆瓣电影分析分析流程图分析结果结果概要注意:请求头一般都是先放User-Agent,如果爬取失败再补Referer,还是失败就再补Cookie,如果喜欢稳一点的,可以每次都加上请求参数分析代码实现流程分析先完成一次请求的抓取再完成多次请求的爬取总结:循序渐进养成良好的习惯代码#!/usr/bin/python3--coding:utf-8--importrequestsimportjson定义请求
分类:
编程语言 时间:
2020-05-08 09:51:00
阅读次数:
70
处理方法: 在 /etc/sysctl.conf文件中加入下面的配置: fs.inotify.max_user_watches=1048576fs.inotify.max_user_instances=1048576 sysctl -p /etc/sysctl.conf 使修改生效。再次执行 tai ...
分类:
其他好文 时间:
2020-05-08 09:48:45
阅读次数:
60