2022年6月17日

远程安装 vs-code server

摘要: https://medium.com/@debugger24/installing-vscode-server-on-remote-machine-in-private-network-offline-installation-16e51847e275 https://update.code.vis 阅读全文

posted @ 2022-06-17 11:48 likeatree 阅读(146) 评论(0) 推荐(0) 编辑

2022年6月15日

windows 7zip 解压 Mac压缩的zip 乱码 解决

摘要: 7z 就会在 zip 里面做标记,标记这个是 utf-8 格式文件,别人的电脑就会用 utf-8 模式打开然后就不会乱码了。 如果遇到 7zip 读取别人的文件乱码问题,那么可以通过命令行使用 gbk 编码加参数 “-mcp=936” 来解压就行了 "C:\Program Files\7-Zip\7 阅读全文

posted @ 2022-06-15 15:37 likeatree 阅读(1604) 评论(0) 推荐(0) 编辑

2021年11月19日

pickle逐个写读

摘要: pickle 的妙用。逐个写入instance,逐个读取instance。 使用场景:逐个写入机器学习 训练的instance,训练时逐个读入buffer。 import pickle # theory: pickle 如果是逐个 dump的那么久可以逐个读取 a=[i for i in range 阅读全文

posted @ 2021-11-19 11:02 likeatree 阅读(50) 评论(0) 推荐(0) 编辑

2021年7月2日

机器学习简介1:基本概念

摘要: input space、feature space 、output space(通常远小于feat space) hypothesis space。 机器学习方法三要素:模型、策略、算法 模型:【确定数据的范围】输入空间到输出空间的映射关系。模型学习的过程就是从假设空间中搜索符合训练数据的假设。 策 阅读全文

posted @ 2021-07-02 10:41 likeatree 阅读(75) 评论(0) 推荐(0) 编辑

2021年6月28日

linux terminal tab complete fail -bash: cannot create temp file for here-document: No space left on device

摘要: 网上搜的解决方案都乱七八糟的,还要逐层路径找大文件去删除。 我直接rm -rf /tmp/* 就ok了 阅读全文

posted @ 2021-06-28 11:43 likeatree 阅读(64) 评论(0) 推荐(0) 编辑

2021年5月16日

JavaScript notes

摘要: Chrome debug We can inspect this in Google Chrome by right clicking on an element, choosing ‘Inspect’ and typing: in the debug console. ( $0 represent 阅读全文

posted @ 2021-05-16 16:40 likeatree 阅读(40) 评论(0) 推荐(0) 编辑

2021年1月21日

PyCharm debug collecting data卡住

摘要: 我是远程调试服务器上pytorch程序遇到的,一直卡在 collecting data 。重启多次无用 https://stackoverflow.com/questions/39371676/debugger-times-out-at-collecting-data In case you lan 阅读全文

posted @ 2021-01-21 22:46 likeatree 阅读(782) 评论(0) 推荐(0) 编辑

2021年1月6日

fastNLP修改路径

摘要: text encoding conversion: iconv -f GBK -t UTF-8 phone_ghy_2800_3100.anns >a ./fastNLP/io/loader/conll.py:546: data_dir = '/home/chencheng/data/fastNLP 阅读全文

posted @ 2021-01-06 13:22 likeatree 阅读(91) 评论(0) 推荐(0) 编辑

2020年11月13日

Could not load dynamic library 'libcudnn.so.7'解决方案 tensorflow

摘要: ✔️正确方案 只需要 ✔️ #默认安装最新 conda install tensorflow-gpu conda install tensorflow-gpu==1.15 就会安装一套套件!不用单独添加东西了!!! pip只会安装单独的包,不会装依赖!!! 有时候 这样也行 conda instal 阅读全文

posted @ 2020-11-13 10:36 likeatree 阅读(7553) 评论(0) 推荐(1) 编辑

2020年10月31日

nltk下载错误的解决办法 [nltk_data] Error loading brown:<urlopen error [Errno 111] Connection

摘要: 先从github下好,https://github.com/nltk/nltk_data 这个GitHub repo的packages目录就对应你要使用nltk的机器上的nltk_data目录, nltk_data目录随着机器版本变化,见 http://www.nltk.org/data.html# 阅读全文

posted @ 2020-10-31 16:45 likeatree 阅读(4253) 评论(0) 推荐(0) 编辑

导航