自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 解决问题:安装conda后,无法找到condarc文件

一般情况下,condarc文件出现在/home/user目录下,但有时会出现找不到情况,解决办法如下:创建condarc文件命令condaconfig--addchannelsr即在/home/user目录下出现condarc文件...

2019-03-21 11:05:17 36748 6

原创 训练kaldi chian模型,Failed to allocate a memory和Failed to write matrix to stream错误解决方案

训练kaldi chian模型,出现如下错误ERROR (nnet3-chain-train[5.5]:AllocateNewRegion():cu-allocator.cc:498) Failed to allocate a memory region of 5627707392 bytes.  Possibly this is due to sharing the GPU.  Try swi...

2018-12-10 10:46:34 1883

原创 aishell运行报错:Please source tools/env.sh in your path.sh to enable it

aishell运行报错,提示需安装kaldi-lmlocal/aishell_train_lms.sh: train_lm.sh is not found. That might mean it's not installedlocal/aishell_train_lms.sh: or it is not added to PATHlocal/aishell_train_lms.sh: U...

2018-10-11 14:18:39 2609

原创 解决问题:ImportError: The 'enchant' C library was not found. Please install it via your OS package manag

操作系统:centos7.0问题描述:ImportError: The 'enchant' C library was not found. Please install it via your OS package manager, or use a pre-built binary wheel from PyPI.解决方案:先执行yum install python-ench...

2018-09-10 17:03:17 3946 1

原创 python代码打包install步骤

1、写setup.py脚本,几行代码即可from distutils.core import setup  setup(name='mylib',        version='1.0',              py_modules=['mylib'],   ) 2、打包发布python setup.py sdist,或者python setup.py bdist3、...

2018-08-29 15:13:54 823

原创 python3 调用http接口例子

import urllibresponse = urllib.request.urlopen('http://www.baidu.com')print(response.read())

2018-06-06 18:23:27 14850 1

原创 python判断字符串是否包含英文字符

def containenglish(str0): import re return bool(re.search('[a-z]', str0))

2018-06-06 18:21:21 31947 1

原创 ubuntu离线安装python-dev

首先下面网址,下载python-dev_2.7.15~rc1-1_amd64.debhttps://ubuntu.pkgs.org/18.04/ubuntu-main-amd64/python-dev_2.7.15~rc1-1_amd64.deb.html然后,pkgs -i python-dev_2.7.15~rc1-1_amd64.deb,即可安装成功...

2018-05-11 09:45:32 10580 1

原创 python跨平台读写文件(Windows linux)

由于windows、linux换行符的不同,导致在不同平台下生成的文件,经常会出现读写异常解决方法:f = open('words.txt', 'rU')即Python's universal newline support

2017-11-16 15:29:30 2245

原创 windows使用rsync、git与linux服务器同步

windows使用rsync、git与服务器同步

2017-07-13 14:41:54 1875

原创 windows安装spark

spark windows安装

2017-06-19 16:39:48 601

原创 linux链接动态库

编辑文件/etc/ld.so.conf,并追加动态库目录,ldconfig更新vi /etc/ld.so.confldconfig外部安装的库,大部分安装在usr/local/lib里面

2017-06-13 16:55:31 315

原创 GIF生成截图工具LICEcap,效果相当不错,而且github开源(1.3k赞)

下载网址:http://www.cockos.com/licecap/开源代码:https://github.com/justinfrankel/licecap

2017-03-06 15:07:04 1230

原创 【效率优化】armabi与armabi-v7编译代码效率对比

armabi与armabi-v7编译代码,效率优化对比armabi:1、模块1:300ms~400ms2、模块2:3.5msarmabi-v7:1、模块1:30ms~40ms,提升10x左右;该模块较多浮点计算单元2、模块2:1.45ms,提升2.5x左右;该模块存在部分浮点单元android调用不同.so方式参考http://blog.

2017-02-14 15:43:31 694

原创 1、linux菜鸟篇 - 修改slickedit用户权限

[root@localhost slickedit]# cd ..[root@localhost opt]# lldrwxr-xr-x.  2 root root 4096 6月  22 2012 rhdrwxr-xr-x. 18 root root 4096 8月  18 11:26 slickedit[root@localhost opt]# chown -R www

2015-08-18 15:46:05 359

空空如也

空空如也

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

TA关注的人

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