自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Learning from the mistakes

我问佛∶世间为何有那麽多遗憾? 佛曰∶这是一个婆娑世界,婆娑既遗憾, 没有遗憾,给你再多幸福也不会体会快乐。

  • 博客(12)
  • 资源 (13)
  • 问答 (1)
  • 收藏
  • 关注

原创 ubuntu pip安装xgboost的CMake 3.13 or higher is required. You are running version 3.10.2

今天在装xgboost的时候出现了下面的错误: INFO:XGBoost build_ext:Building from source. /tmp/pip-install-elc4qdig/lib/libxgboost.so INFO:XGBoost build_ext:Run CMake command: ['cmake', 'xgboost', '-GUnix Makefiles', '-DUSE_OPENMP=1', '-DUSE_CUDA=0', '-DUSE_NCCL=0', '-D

2020-06-29 14:44:01 8219 4

原创 ubuntu 安装kenlm

今天想利用kenlm来跑一个n-gram模型,发现安装起来并不是很容易,我这里分享一下我的安装过程:安装依赖sudo apt install build-essential cmake libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev libeigen3-dev zlib1g-dev libbz2-dev liblzma-dev下载代码git clone https:

2020-06-28 11:06:30 769

原创 python matplotlib在图像上画方框

今天用matplotlib画方框,发现死活画不上去,opencv一下子就画上去了,但是jupyter用matplotlib居多,我这里分享一下我显示方框的代码:import numpy as npimport matplotlib.pyplot as plt # 导入绘图包from PIL import Imageimport matplotlib.patches as patchesimg_path='/media/data/projects/EyesDetection/eyes/眼部打码

2020-06-26 09:22:56 8817 3

原创 ubuntu 编译darknet error: ‘__args_arr’ was not declared in this scope

今天 在编译darknet的时候,出现了下面的错误:/usr/local/cuda/include/crt/host_runtime.h:19:2: warning: #warning "crt/device_functions.h is an internal header file and must not be used directly. Please use cuda_runtime_api.h or cuda_runtime.h instead." [-Wcpp] #warning "

2020-06-20 18:42:07 1186

原创 ubuntu g++: error: unrecognized command line option ‘-fno-plt’

今天在编译chineseocr_lite下面的psenet的时候出现了下面的错误:g++: error: unrecognized command line option ‘-fno-plt’Makefile:10: recipe for target 'pse.so' failedmake: *** [pse.so] Error 1make: Leaving directory '/media/data/projects/OCR/chineseocr_lite/psenet/pse'Trac

2020-06-20 18:13:24 4057 1

原创 mac dyld: Library not loaded: /usr/local/opt/x265/lib/libx265.179.dylib

今天在用mac上的ffmpeg的时候出现了下面的错误:dyld: Library not loaded: /usr/local/opt/x265/lib/libx265.179.dylib Referenced from: /usr/local/bin/ffmpeg Reason: image not found貌似是ffmpeg出问题了。解决方法brew reinstall ffmpeg参考文献[1].Dynamically linked dependencies.

2020-06-16 16:18:51 1347

原创 python pdf转换为word

今天尝试了一下用pdf转换为word的操作,也是借鉴的别人的代码,地址为:https://github.com/python-fan/pdf2word,改了改,把多线程那些去掉了,然后这份代码有几个缺点,我说一下:扫描版不能转换 转换出来主要是文本,并且不带格式的 有一些字体不能转换这里面有很多可以改进的地方,就期待大牛加入推动这个项目了哈。代码需要的环境为:attrs==17.4.0lxml==4.1.1pdfminer3k==1.3.1pluggy==0.6.0ply==3.

2020-06-13 12:42:09 964

原创 mac ImportError cannot import name process_pdf from pdfminer pdfinterp

今天在使用pdfminer的时候出现了下面的错误:ImportError: cannot import name 'process_pdf' from 'pdfminer.pdfinterp'然后明明安装了pdfminer,却导入不进来。解决方法pip uninstall PDFMiner3Kpip uninstall PDFMinerpip install pdfminer3k然后就行了,主要思路就是先卸载干净,再安装下面是我的关于pdf的东西,仅供参考,我的是mac.

2020-06-13 12:11:41 2949 3

原创 python 按照标点符号切分句子,去除标点符号,判断字符串是否包含中文

最近在处理文本,发现切分句子,去除标点符号,判断字符串是否包含中文经常会用到,我这里分享一下我的代码:切分句子import redef split_sentences(line): line_split = re.split(r'[。!;?,]',line.strip()) line_split = [line.strip() for line in line_split if line.strip() not in ['。','!','?',';',','] and len(li

2020-06-09 18:29:59 7392 4

原创 opencv-python提取二维码(二)

今天尝试了一下博客:https://blog.csdn.net/kellen_f/article/details/81667315发现报了各种错误,然后我把解决过程记录下来,我安装了下面的库:pip install opencv-python-headlessopencv相关的版本为:opencv-contrib-python 3.4.2.16opencv-python 4.2.0.32openc

2020-06-08 22:28:43 1052 1

原创 python 把pdf的表格解析成excel

最近做了一个pdf解析的工具,能够对部分的pdf文档进行解析,对扫描版的pdf没啥用,我这里把我实现的代码分享出来:安装pip install pdfplumber代码import pdfplumberimport pandas as pdimport osfrom tqdm import tqdm # pip install pdfplumberdef PDF_parser(xlsx_name,pdf_name): writer=pd.ExcelWriter(xl.

2020-06-07 21:00:25 1050 1

原创 python 多分类画auc曲线和macro-average ROC curve

最近帮一个人做了一个多分类画auc曲线的东西,不过最后那个人不要了,还被说了一顿,心里很是不爽,anyway,我写代码的还是要继续写代码的,所以我准备把我修改的代码分享开来,供大家研究学习。导入基础的pandas和keras处理函数import pandas as pdfrom keras.utils import to_categorical导入数据data=pd.read_excel('5分类新.xlsx')data.head()导入机器学习库from sklearn.met

2020-06-07 00:15:07 7982 2

StegoShare.jar.zip

一个小工具,可以隐藏文件到某文件中,也可以从某文件中提取该文件

2021-05-24

openfst-1.6.7.tar.gz

编译ctcdecode所需要的第三方库,下载地址为:https://sites.google.com/site/openfst/home/openfst-down/openfst-1.6.7.tar.gz

2020-05-06

RotateDemo.rar

QT5版本的旋转图片的动画,编译器用的mingW,代码进行了重构改良,文章请参考: https://blog.csdn.net/w5688414/article/details/90072287

2019-05-10

springboot getopenid demo

springboot实现用户信息授权获取用户的id, 写的教程地址为https://blog.csdn.net/w5688414/article/details/88541743

2019-03-13

pytorch 0.3.1 python3.6 CPU版本whl

pytorch 0.3.1 python3.6 CPU版本whl,这个属于老版本了,在官网上都不容易找到,我这里分享出来

2019-03-11

NUS-WIDE多标签分类数据集整理

博客地址为:https://blog.csdn.net/w5688414/article/details/84593705 用keras进行多标签分类的图片数据集,图片取自于NUS-WIDE数据集

2018-11-29

VGG_ILSVRC_16_layers_fc_reduced.h5

VGG_ILSVRC_16_layers_fc_reduced.h5文件,用于ssd keras模型,考虑到国内没有搜到该资源,我来当当搬运工

2018-11-07

Jetson-TX2 tensorflow-1.3.0-cp35-cp35m-linux_aarch64.whl

最近编译成功了tensorflow 1.3的版本,tensorflow-1.3.0-cp35-cp35m-linux_aarch64.whl,把编译成功的文件分享给大家

2017-12-25

bazel-0.6.1-dist.zip 下载

官网地址为:https://github.com/bazelbuild/bazel/releases/,但是很难下载下来,我用的是校园网,都下了好久,我把我下载的包分享给大家,希望对大家有用

2017-11-15

Connectionist Temporal Classification: A Tutorial with Gritty Details

教程:Connectionist Temporal Classification详解补充中文翻译的对应的英文原版教程,链接为:http://blog.csdn.net/w5688414/article/details/77867786,希望能帮助到大家

2017-09-14

操作系统页面置换LRU,FIFO,OPT算法实现代码

LRU算法,FIFO算法,OPT算法,belady现象

2015-01-05

异步框架上传客户端示例

android异步框架应用的一个小小的示例

2014-09-16

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

TA关注的人

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