- 博客(9)
- 资源 (3)
- 收藏
- 关注
原创 linux 编译安装python3
执行wget 命令直接下载到当前文件夹:# wget https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tar.xz解包:# xz -d Python-3.6.6.tar.xz解压缩:# tar -xzvf Python-3.6.6.tar.xz解压缩之后出现 Python-3.6.6 文件夹.# lldrwxr-xr...
2018-10-30 14:58:06 978
原创 linux 删除文件示例
find . -depth -name '__pycache__' -exec rm -rf {} ';'find . -name '*.py[co]' -exec rm -f {} ';'find . -name '*.[oa]' -exec rm -f {} ';'find . -name '*.s[ol]' -exec rm -f {} ';'find . -name '*.so.[...
2018-10-30 14:51:37 238
原创 找出下载的git资源的源地址与更新子模块,加速下载
linux下命令 git remote -vgit config --get remote.origin.urlwindows环境可以查看 .git目录下面的config文件You will also probably want to use the --init option to which will make it initialize any uninitialized s...
2018-10-30 14:43:04 923
转载 How to use GloVe pre-trained embeddings in OpenNMT-py
http://forum.opennmt.net/t/how-to-use-glove-pre-trained-embeddings-in-opennmt-py/1011Using vocabularies from OpenNMT-py preprocessing outputs, embeddings_to_torch.py generate encoder and decoder emb...
2018-10-28 22:07:49 739
翻译 如何在Kaggle内核上使用BIG数据集(16G RAM
https://www.kaggle.com/yuliagm/how-to-work-with-big-datasets-on-16g-ram-dask这个特殊的竞争要求我们查看和分析一些非常大的数据集。在它的给定形式中,它甚至不会加载到kaggle内核上的pandas中。如果您没有非常花哨的计算机,它可能也不会加载到您的计算机上。至少在我的笔记本电脑(macbook,16G RAM)上它不会...
2018-10-22 23:18:02 5155 1
原创 找出正在运行的python进程名称与位置
找出运行进程的数量[root@datanode2 ~]# ps -A |grep python3|wc -l14 个[root@datanode2 ~]# ps -axjf |grep python343054 44889 44888 43054 pts/8 44888 S+ 0 0:00 | \_ grep --color=auto...
2018-10-22 18:25:45 6305
原创 python 用逗号分隔字段但被三个引号括起来的字段不被逗号分隔的文件转化为dataframe
请教一个问题: 0,"""哎,想当年来佘山的时候,类来,空了。""",-2,-2,-2,0,-2,-2,-2,1,-2,-2,-2,-2,-2,-2,-2,0,-2,-2,1,0 这种数据怎么用pandas读到dataframe中,"""括起来的是一个字段,dataframe用逗号分隔? test_data/sentiment_analysis_testa.csv 文件内容如下:id,c...
2018-10-22 17:56:44 916
原创 pip 使用国内阿里云软件源
创建.pip文件夹mkdir ~/.pip写入pip配置文件 .pip/pip.conf echo '[global]' > ~/.pip/pip.confecho 'index-url=https://pypi.doubanio.com/simple/' >> ~/.pip/pip.confecho '[install]' > ~/.pip/pip...
2018-10-22 17:43:06 2760
原创 cudnn在centos7 cuda9.0环境的安装
在 https://developer.download.nvidia.com/ 下载cudnn-9.0-linux-x64-v7.3.0.29.tgz tar -xzvf cudnn-9.0-linux-x64-v7.1.tgz解压CUDNNtar -xzvf cudnn-9.0-linux-x64-v7.1.tgz复制相关文件到cuda特定目录下(我的cuda安装目录为/usr...
2018-10-22 17:35:23 1834
c++数据结构与算法实现
2018-09-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人