- 博客(19)
- 收藏
- 关注
原创 深度学习踩坑系列之六 Error: make: *** No targets specified and no makefile found. Stop.
Error: make: *** No targets specified and no makefile found. Stop.问题定位:no found make:主是是因为依赖于gcc版本库,安装上即可。解决:yum -y install gcc gcc-c++ autoconf automake...
2018-11-23 16:41:56 3748
原创 深度学习踩坑系列之三 安装cuDNN详细步骤
1)下载对应版本注册账户后选定报错提示的那个版本5.0即可,我下载的是cudnn-8.0-linux-x64-v5.1.tgz2)安装Fz上传至Linux服务器指定文件夹,执行tar xvzf cudnn-8.0-linux-x64-v5.1.tgz,ls后可见cuda文件夹3)设定软链接没有在cuda目录的上层目录执行以下语句,就会报找不到对应file。正确执行路径可参考以下截图su...
2018-11-16 15:02:33 1252 1
原创 深度学习踩坑系列之二 Error: libcublas.so.8.0:can not open shared object file:No such file or directory
Error: libcublas.so.8.0:can not open shared object file:No such file or directory思路:检查是否安装了cuDNN(执行 cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2 查询)解决方法:安装cuDNN...
2018-11-15 14:05:14 1855
原创 深度学习踩坑系列之一 Error: module 'pandas' has no attribute 'core'
Error: module ‘pandas’ has no attribute ‘core’解决方法:重装pandaspip uninstall pandaspip install pandas
2018-11-13 13:41:17 5836
原创 搭建GPU版tensorflow(超详细)
全文字数 3172字阅读时间 5分钟如果这是人生第一次接触搭建GPU版服务器搭建深度学习环境,不要怕,简直是步步都有坑,字字都是泪,踩得多了就习惯了。AI小姐姐把相关的过程和坑都捋遍了,整理出来供参考。我使用的是天翼云(32核 | 256GB | p1.8xlarge.8 CentOS7.3 64位 GPU-P100*2),总结了在GPU服务器上搭建环境,共计分为三大步骤六小步,简列如下:...
2018-11-12 16:03:54 1926
原创 深度学习踩坑之十九 查看端口被什么程序运行
ps -ef | grep 9005这个命令可以查看端口在被什么程序运行应该能看到你之前的命令,还有对应的PID
2018-12-19 14:35:46 299
原创 深度学习踩坑系列之十八 克隆数据到本地 git clone doc to computer
cmd - git-- cd 目的路径 – git clone 下载路径 --done
2018-12-18 16:11:37 272
原创 深度学习踩坑系列之十七 error -bash: activate: No such file or directory
error -bash: activate: No such file or directory定位问题:conda3目录下面的activate系统找不到解决方法:把路径告诉它,然后刷新一下就好了执行命令:cd 回到家目录echo PATH=“家目录/anaconda3/bin:$PATH” >> ./bashrcsource ./bashrc...
2018-12-17 17:04:31 4692
原创 深度学习踩坑系列之十六 upgrade scipy for pycharm 3.6
解决: ‘pip install --upgrade scipy --ignore-installed’PS. 常用的是‘pip uninstall scipy’ and then ‘conda install scipy’ , 具体情况具体分析。
2018-12-14 19:26:57 284
原创 深度学习踩坑系列之十五 从mysql 表a中提取指定时间段数据到新表b
① 创建新表 create table 表b like 表a② 执行语句写入数据INSERT INTO 表b(title, content, wxb, enterprise, education, butuijian, rubbish, labeled) SELECT title, content, 1, 0, 0, 0, 0, 1 FROM 表a where industry=‘szsw’ ...
2018-12-13 14:01:01 520 4
原创 深度学习踩坑系列之十三 Linux 删除非空目录
删除非空目录 rm -rf+非空目录删除空目录 rmdir+目录名删除非空文件 rm -f+文件名
2018-12-11 17:13:35 435
原创 深度学习踩坑系列之十二 Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level
Python脚本运行出现语法错误:IndentationError: unindent does not match any outer indentation level【问题】一个python脚本,本来都运行好好的,然后写了几行代码,而且也都确保每行都对齐了,但是运行的时候,却出现以上语法错误:【解决过程】1.对于此错误,最常见的原因是,的确没有对齐。但是我根据错误提示的行数,去代码中...
2018-12-05 17:03:31 1838
原创 深度学习踩坑系列之十 创建&克隆&激活虚拟环境
创建虚拟环境 conda create -n your_env_name python=3.6.2 pip numpy matplotlib pandas sortedcontainersconda克隆虚拟环境 conda create -n your_env_name --clone old_env_list激活这个虚拟环境 source activate your_env_name...
2018-12-04 16:19:49 700
原创 深度学习踩坑系列之九 mysql 修改
查看所在路径 pwd创建文件 touch test.date修改文件 vim test.date,在出来的页面按i(即insert),就能编辑了。输入完成后,按Esc退出,摁:wq,然后摁enter。
2018-11-28 15:25:28 235
原创 深度学习踩坑系列之七 Error: No module named 'predict'
1)Error: No module named ‘predict’问题定位:本地没有predict 模块解决:cmd,然后执行pip install predic
2018-11-26 13:36:41 4842 2
原创 深度学习踩坑系列之五 Error: no command wget
Error: no command wget思路:安装wget即可执行web 下载解决:yum -y install wget
2018-11-22 14:36:40 788
原创 深度学习踩坑系列之四 Error: no model gflags
Error: no model gflags解决: pypi gflags思路延伸: 如果报错说缺哪个,尝试用pip install 所缺模块/包名字;如仍报错,考虑名称是否写齐全.以以上为例,百度‘pypi gflags’,第一个链接就是这个包对应的最新版本名称 python-gflags 3.1.1,执行 pip install python-gflags==3.1.1 即可解决。...
2018-11-21 14:16:40 464
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人