随笔分类 - 代码 / 开发环境
摘要:codex 没给搞定, 记录下 sudo conda install conda-forge::pytorch conda-forge::torchvision 补充:下面也可以的, 报错是因为把 pytorch写成了 torch conda install -n torch -c conda-fo
阅读全文
摘要:参考 https://www.cnblogs.com/AndreaDO/p/17854742.html C/C++插件 code runner 插件
阅读全文
摘要:配置conda代理 $ cat ~/.condarc # https://help.mirrors.cernet.edu.cn/anaconda/ ubuntu@ubuntu-Z790-UD:/opt$ cat ~/.condarc channels: - defaults show_channel
阅读全文
摘要:* 错误  * 解决方法: 通过和之前可以的任务对比,发现其中有Add dependencies with
阅读全文
摘要:``` s = settings;s.matlab.desktop.DisplayScaleFactor s.matlab.desktop.DisplayScaleFactor.PersonalValue = 1.2 ```
阅读全文
摘要:代码跳转. 如果不能跳转, 可能需要在.vscode/settings.json中加实际的代码路径,比如"python.analysis.extraPaths": ["code"], tensorflow 1.15.0前后的版本,无法代码提示,解决办法为 # cd ~/.local/lib/pyth
阅读全文
摘要:稍微记一记, 提升效率. https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
阅读全文
摘要:1. 选择项目中某个函数名, 右键可以看到 copy reference, 点击完成复制symbol, 分享给别人. 2. shift + shift 打开打开一个对话框, 把分享的symbol粘贴上去, 可以跳到对应位置.
阅读全文
摘要:> 新mac (EI Capitan),需要在python中使用xgboost,通过pip安装未成功。 ## 配置pip ``` cat $HOME/Library/Application\ Support/pip/pip.conf [global] index-url = http://mirro
阅读全文
摘要:恢复git 本地删除的文件 git ls-files -d | xargs git checkout 打tag git tag -a 'V20160726' -m "生成数据用于通用模型评估" git push origin V20160726 删除tag git tag -d V20160726
阅读全文

浙公网安备 33010602011771号