
linux
江浙沪讲吴语
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
理解tf.pad
官方文档For each dimension D of input, paddings[D, 0] indicates how many values to add before the contents of tensor in that dimension, and paddings[D, 1] indicates how many values to add after the cont...原创 2019-11-13 21:28:02 · 169 阅读 · 0 评论 -
bashrc: line 6: syntax error near unexpected token `$‘in\r‘‘
由于使用WinSCP编辑bashrc文本,WinSCP会进行转化,将\n变为\rdos2unix .bashrc将你的文件转化成unix格式原创 2019-11-07 15:55:41 · 850 阅读 · 1 评论 -
Conda Solving environment: failed with initial frozen solve. Retrying with flexible solve.
可能是用了较高版本的python导致不兼容引起的笔者用python3.8安装Tensorflow出现这个报错将python降级后解决conda install python=3.7原创 2019-11-07 15:51:34 · 10614 阅读 · 2 评论 -
Linux外环境用了conda内环境的包
因为加了export PATH=/home/yourname/miniconda3/bin:$PATH这样导致系统一直从conda内部检索应该改成判断语句__conda_setup="$('/home/yourname/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"if [ $? -eq 0 ]; then ...原创 2019-11-07 15:47:39 · 198 阅读 · 0 评论 -
Linux 安装 conda WARNING: md5sum mismatch of tar archive
安装 conda 时发现抱错:WARNING: md5sum mismatch of tar archive,最后发现是MD5校对错误在Windows下的文本文件用ssh上传到Unix/Linux,会自动进行格式转换,就是把回车、换行转为换行,在Unix下查看,会发现少了^M。将文件改为zip文件后再传输,传到linux上后改回sh,就可以成功安装。参考:https://www.lin...原创 2019-11-06 13:57:43 · 8589 阅读 · 9 评论