环境安装
文章平均质量分 54
Jincenter
这个作者很懒,什么都没留下…
展开
-
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 · 1456 阅读 · 0 评论 -
细节决定成败
torch 1.1.0 与 torch1.2.0以上版本有一部分差别优先比对检查原有环境,requirements.txt(安装包环境问题,文件路径等)检查数据,函数调用方式,执行顺序。(打印数据类型,格式)...原创 2020-01-19 22:59:01 · 160 阅读 · 0 评论 -
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 · 183 阅读 · 0 评论 -
git 提交到远程分支
ssh-keygen -t rsa -C “19036685@163.com”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 · 299 阅读 · 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 · 238 阅读 · 0 评论 -
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 · 809 阅读 · 0 评论 -
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 · 166 阅读 · 0 评论 -
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 · 590 阅读 · 0 评论 -
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 · 209 阅读 · 0 评论 -
notepad++ anaconda python 虚拟环境运行
cmd /k activate & D:Anaconda3\python.exe $(FULL_CURRENT_PATH) & echo= & pause & exit原创 2019-09-21 10:09:05 · 1215 阅读 · 0 评论 -
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 · 790 阅读 · 0 评论 -
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 · 2267 阅读 · 0 评论 -
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 · 1662 阅读 · 0 评论