自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(39)
  • 资源 (2)
  • 收藏
  • 关注

转载 Git拉取远程分支代码到本地

新建一个空文件,文件名为mygitgit initgit remote add origin [email protected]:aaa.git (注意windows中用ssh,一般平台用http)git fetch origin dev(dev为远程仓库的分支名)git checkout -b dev(本地分支名称) origin/dev(远程分支名称)git pull origin dev(远程分支名称)修改代码然后,,git add .git commit -m “add file”git.

2020-06-02 21:06:26 5217

原创 IntelliJ idea中日志打印中文乱码

Win10的 IntelliJ idea中log4j2控制台中文乱码的几种处理方法slf4j是外层框架,具体实现靠log4j、log4j2log4j配置文件用log4j.propertieslog4j2配置文件用log4j2.xml打开idea安装目录: <IDEA_HOME>/bin中的idea64.exe.vmoptions,在末尾添加-Dfile.encoding=UTF-8 重启Idea即可Log4j2.xml的配置文件编码 charset=“UTF-8” 修改为: ch

2023-05-10 16:15:06 465

原创 flink中maven项目出现程序包不: java.lang.NoClassDefFoundError: org/apache/flink/api/common/typeinfo/TypeInform

重启项目,然后刷新maven(刷新按钮或者clean+install)idea的maven找不到你的Java的jar包。

2023-05-10 10:49:04 825

原创 paddle2.3+centos7.6.5+cuda10.1+nccl2.7.8

paddle2.3+centos6.5+cuda10.1+nccl2.7.8

2022-10-29 14:58:25 1342

转载 selenium安装

【转载】https://www.cnblogs.com/technologylife/p/5829944.htmlhttp://npm.taobao.org/mirrors/chromedriver/下载对应版本的chromedriver,放在python /Scripts下面即可,不用配置path用 Chrome 浏览器来测试from selenium import webdriverbrowser = webdriver.Chrome()browser.get('http://www.b

2021-02-22 11:18:08 102

原创 安装 pyzbar

sudo yum install python-develsudo yum install zbar-develsudo pip install pyzbar

2020-09-04 11:16:44 1876 1

原创 tortoiseGit安装与配置

tortoiseGit安装与配置安装开始–>TortoiseGit–>PuTTYgen,进入PuTTY Key Generator,将public key 复制粘贴到GitLab,将private key 保存到易查找的位置接着 打开:开始–>TortoiseGit–>Pageant,add key 将刚才保存的private key 添加上。配置与调试有些时候卸载旧版本,安装新版本的时候路径有改变,而windows注册表中GIT_SSH的路径没有及时更新过来,需要

2020-07-10 09:10:48 407

原创 python字典转json报TypeError

1. python字典转json报TypeError如下字典转json出错 TypeError: Object of type ‘int64’ is not JSON serializable para_result = [ [0], [1, 2, 3], [4, 5], [6, 7], [8], [9], [10], [11], [12, 13, 14, 15, 16, 17

2020-06-04 17:26:27 295

转载 git-更改本地和远程分支的名称

git-更改本地和远程分支的名称git branch -m old_branch new_branch # Rename branch locally git push origin :old_branch # Delete the old branch git push --set-upstream origin new_branch # Push the new branch, set ...

2020-01-19 23:02:06 186

原创 细节决定成败

torch 1.1.0 与 torch1.2.0以上版本有一部分差别优先比对检查原有环境,requirements.txt(安装包环境问题,文件路径等)检查数据,函数调用方式,执行顺序。(打印数据类型,格式)...

2020-01-19 22:59:01 142

原创 tensorflow session and graph

tensorflow session and graph1. set_session—clear_session—get_sessionclass Recog_Fish(object): def __init__(self,kerasTextModel,IMGSIZE,keras_anchors,class_names): self.kerasTextModel =...

2020-01-19 21:42:04 174

原创 gcc-5.4.0编译安装

gcc-5.4.0编译安装####### LOOK!!!# Befor everything, you know jupyter-lab, just do "sudo ln -s /usr/bin/_mv /usr/bin/mv", to recover "mv"# download 'gcc-5.4.0.tar.gz' 'gmp-4.3.2.tar.bz2' 'mpfr-2.4.2.tar...

2019-12-21 15:40:11 890

原创 git 提交到远程分支

ssh-keygen -t rsa -C “[email protected]”git initgit config --global user.name “your_username” #设置用户名git config --global user.email “your_registered_github_Email” #设置邮箱地址git statusgit checkout -b ...

2019-11-12 20:57:32 287 1

原创 Keras RetinaNet

Keras RetinaNetFAQ:I get the error ModuleNotFoundError: No module named ‘keras_retinanet.utils.compute_overlap’, how do I fix this? Most likely you are running the code from the cloned repository. T...

2019-11-06 16:39:01 230

原创 python pip list

pip listPython 运行环境查找库文件时本质是对 sys.path 列表的遍历export PYTHONPATH = pwd:$PYTHONPATHsys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(file)), ‘…/’))将代码包拷贝到 sys.path里面某个路径下(如:site-package...

2019-11-02 11:42:05 768

原创 Linux 下的dd命令使用详解以及dd if=/dev/zero of=的含义

Linux 下的dd命令使用详解以及dd if=/dev/zero of=的含义将本地的/dev/hdb整盘备份到/dev/hdd#dd if=/dev/hdb of=/dev/hdd拷贝光盘内容到指定文件夹,并保存为cd.iso文件#dd if=/dev/cdrom(hdc) of=/root/cd.iso测试硬盘的读写速度-通过以下两个命令输出的命令执行时间,可以计算...

2019-10-31 18:03:04 13542

原创 mmdetection 安装(1.0rc)

mmdetection 安装(1.0rc)1.requirements.txtLinux (Windows is not officially supported)Python 3.5+ (Python 2 is not supported)PyTorch 1.1 or higherCUDA 9.0 or higherNCCL 2GCC(G++) 4.9 or highermmcv...

2019-10-21 18:26:26 892 5

原创 gcc-7.3.0

解压缩拷贝gcc-7.3.0.tar.bz2(我下载的压缩文件)到/usr/local/src(根据自己喜好选择)下,根据压缩格式,选择下面相应的一种方式解包(以下的“%”表示命令行提示符):% tar -xf gcc-7.3.0.tar.gzchmod 755 download_prerequisites修改jupyter 平台的mv共享存储net_disk/net_disk_pr...

2019-10-19 22:15:40 1058

转载 linux: configure make make install

linux下,源码的安装一般由3个步骤组成:配置(configure)、编译(make)、安装(make install)过程中用到configure --prefix  --with;其中–prefix指的是安装路径,–with指的是安装本文件所依赖的库文件安装httpd时,进行指定安装,用到./configure --prefix具体解释:.表示当前目录。/是目录分隔符。合起...

2019-10-19 19:48:29 161

原创 linux tar: Exiting with failure status due to previous

linux tar: Exiting with failure status due to previoussudo 权限今天进行解压DM3730_DVSDK安装包的时候,我直接用的解压命令 tar -jxvf … 然而到最后出现了解压错误tar: Exiting with failure status due to previous error原来是我没有加sudo 导致出现了这个...

2019-10-19 16:18:48 569

原创 linux kill 僵死进程

ps -aux查看进程,能够用来kill 足够僵死的进程linux 中 sudo pip -V (一般为系统自带python2.7) 和 pip -V(一般python3)因此,使用sudo pip3linux 中 /home/OCR/.local/lib/python3.6 通常由 pip install --user 产生的,会与/usr/local/python3产生干扰。p...

2019-10-10 22:48:17 198

转载 pip安装与使用详解

一、安装pip的几种方式1、 用脚本安装1)下载 get-pip.pywget https://bootstrap.pypa.io/get-pip.py2)运行python get-pip.py即可如果setuptools和wheel没有安装,get-pip.py会安装setuptools和wheel。Options:-no-setuptools不安装setuptools...

2019-10-09 22:00:55 1224

转载 pytorch加载模型时报错

[转自]https://www.lizenghai.com/archives/4610.htmlpytorch加载模型时报错RuntimeError: Error(s) in loading state_dict for DataParallel:Missing key(s) in state_dict: “module.backbone.layers.0.stage_1.layers.0....

2019-09-26 10:07:23 1083

原创 notepad++ anaconda python 虚拟环境运行

cmd /k activate & D:Anaconda3\python.exe $(FULL_CURRENT_PATH) & echo= & pause & exit

2019-09-21 10:09:05 1201

原创 python ::-1用法

Python [:, :, :] 与 [::, ::, ::-1]python [::]即[起始索引:终止索引:步长]1. [:,:,:]是[::, ::, ::,]的简写, 一般默认步长是1,::就写成了: 同时起始索引默认是0,终止索引默认是len(列表)2. 拿到一个列表,默认步长时,从左到右一个个读取,步长也可为2,3,4…,当为-1时,反向读取,也可为-2,-3…3. 用时比较关...

2019-09-18 10:52:34 1884

转载 tf.nn.sigmoid_cross_entropy_with_logits出现负数

tf.nn.sigmoid_cross_entropy_with_logits使用这个loss函数,出现loss出现负数的情况,在理论情况下,这个函数应该是不会存在负数的情况,查看这个函数的具体表达为:该函数定义为:tf.nn.sigmoid_cross_entropy_with_logits(_sentinel=None, labels=None, logits=None, name=...

2018-12-25 10:39:03 2337

原创 python fake-useragent

anaconda pip installubuntu anaconda 中的pip installpython -m pip命令试试,可见这时便可以正常使用pip命令为原有的python安装第三方库了pip install fake-useragent出现异常(fake_useragent.errors.FakeUserAgentError: Maximum amount of re...

2018-07-11 16:04:57 2234

原创 Python中的logging模块

Python中的logging模块1. http://python.jobbole.com/86887/2. https://docs.python.org/2.7/library/logging.html **#coding=utf-8 author = ‘liu.chunming’ import logging # 第一步,创建一个logger ...

2018-07-11 12:02:35 132

原创 ubuntu tensorflow 安装 object_detection API

一、安装教程:* https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md二、具体步骤:1. https://github.com/tensorflow/models2. 安装protobuf,编译.proto文件 # From te...

2018-07-05 10:51:08 681

原创 ubuntu 编译protobuf

编译protobuf https://github.com/google/protobuf/releaseshttps://github.com/google/protobuf/blob/master/src/README.md下载protobuf-all-3.5.1.tar.gz 4.解压进入目录 tar -zxvf protobuf-3.5.1.tar.gz ...

2018-07-05 09:57:24 761

原创 ubuntu 安装tensorflow-gpu==1.8

先到Anaconda 官网下载 anaconda3 (5.2.0), 接着安装sh anaconda3.sh 接着在命令行 conda install tensorflow-gpu==1.8 接着conda install keras-gpu 还有conda install opencv 最后 conda update h5py(为了消除那个tf.float的那个警告)Packag...

2018-06-25 14:06:23 1651

原创 create_data.sh

root_dir=/home/jin/caffe_dssd echo rootdircdrootdircdroot_dir cd root_dirredo=1 data_root_dir=”$HOME/Downloads/PyData/Cares” dataset_name=”VOCar_plate”mapfile=”/home/jin/Downloads/PyData/Care...

2018-06-14 15:56:27 1063 2

原创 "caffe.LayerParameter" has no field named

详细报错内容:WARNING: Logging before InitGoogleLogging() is written to STDERR W0605 14:58:08.718324 25393 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface W0605 14:58:08.718341 2...

2018-06-05 15:03:15 5123 2

转载 opencv imshow error

转自:https://www.cnblogs.com/wangxiaocvpr/p/5385961.htmlOpenCV Error: OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. ...

2018-06-05 14:37:57 635

原创 fatal error: numpy/arrayobject.h没有那个文件或目录

编译 pycaffe时报错:fatal error: numpy/arrayobject.h没有那个文件或目录 网上总是推荐下面操作,问题在于我编译caffe_dssd成功了,现在准备在另一个文件夹下编译caffe ssd sudo apt-get install python-numpy 试过上面方法后还是不行,我又重新下载了一份caffe.git文件。 接着把前面装的numpy删掉,s...

2018-06-01 22:35:05 3663

转载 python -m xxx.py

转自:http://www.cnblogs.com/softidea/p/5119923.htmlpython -m xxx.py作用是:把xxx.py文件当做模块启动 但是我一直不明白当做模块启动到底有什么用。python xxx.py和python -m xxx.py有什么区别!自问自答:python xxx.pypython -m xxx.py这是两种加载py文...

2018-06-01 11:13:41 2138

转载 add-apt-repository

转自:https://www.cnblogs.com/strive-for-freedom/p/4252875.htmladd-apt-repository ppa: add-apt-repository:  add-apt-repository 是由 python-software-properties 这个工具包提供的所以要先安装python-software-propertie...

2018-05-31 11:54:04 8039

转载 Linux shell 引号

转载自:https://www.cnblogs.com/zhuandshao/p/7193564.html 在这里补充一下单引号、双引号以及没有引号的区别:单引号:  可以说是所见即所得:即将单引号内的内容原样输出,或者描述为单引号里面看见的是什么就会输出什么。双引号:  把双引号内的内容输出出来;如果内容中有命令,变量等,会先把变量,命令解析出结果,然后在输出最终内容来。...

2018-05-31 10:09:18 380

转载 tensorflow使用GPU训练时的显存占用问题

转自:https://www.cnblogs.com/helloyy/p/7878201.html查看机器上GPU情况命令: nvidia-smi功能:显示机器上gpu的情况命令: nvidia-smi -l功能:定时更新显示机器上gpu的情况命令:watch -n 3 nvidia-smi功能:设定刷新时间(秒)显示GPU使用情况其中左上侧有0、1、2、3的编号,

2018-01-05 15:54:34 4135

This post is all you need(下卷)-步步走进BERT v1.2.0.pdf

This post is all you need(下卷)——步步走进BERT v1.2.0.pdf

2024-01-26

This post is all you need (上卷)-层层剥开Transformer v1.3.1.pdf

This post is all you need (上卷)——层层剥开Transformer v1.3.1.pdf

2024-01-26

《线性代数的艺术》《每个人的线性代数》

推荐一本日本网友Kenji Hiranabe写的《线性代数的艺术》。这本书是基于MIT大牛Gilbert Strang教授的《每个人的线性代数》制作的,通过可视化的、图形化的方式理解和学习线性代数。 全书内容不长,算上封面再带图一共也就12页。书中内容都是图解形式呈现,尤其矩阵这一块,描述很清楚,小白也能轻松看懂。

2024-01-26

libnccl-devel-2.7.8-1+cuda10.1.x86-64.rpm

libnccl-devel-2.7.8-1+cuda10.1.x86_64.rpm

2023-12-15

scala windows安装包,快速安装

scala windows安装包,快速安装,学习用scala,大数据,实时计算基础学习。

2023-12-15

图神经网络推荐,graph embedding

图embedding 图神经网络,基础学习相关任务参考

2023-12-15

xgboost4j-0.82-criteo-20190412-2.11-win64.jar

xgboost4j报错:/lib/xgboost4j.dll was not found inside JAR xgboost4j版本:xgboost4j-spark-0.82 操作系统:win10 在用idea使用xgboost4j,在本地调试运行报错: failed to load xgboost4j library from jar /lib/xgboost4j.dll was not found inside JAR

2023-11-07

baidu-aip-2.2.17.0.tar.gz

百度AI平台,接口文档,里面有python调用接口,可以进行银行卡识别,身份证识别,票据识别,表格识别

2019-08-23

protoc-3.4.0-win32_64.rar

protobuf 3.4 win10, it use for build object_detection/protos/*.proto

2019-08-23

空空如也

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

TA关注的人

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