1 | echo 'one two three' | xargs -t rm |
jupyter 可视化交互
发表于 | 阅读次数:
%matplotlib notebook
zsh 复制卡顿
发表于 | 阅读次数:
1 | # This speeds up pasting w/ autosuggest |
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
发表于 | 阅读次数:
linux
sudo mkdir /usr/lib/openssl-1.0
ln -s /usr/include openssl openssl-1.0
1 | LDFLAGS="-L/usr/lib/openssl-1.0" \ |
正则注释
发表于 | 阅读次数:
1 | ^[ \t]+alog |
pytorch lead node
发表于 | 阅读次数:
pycharm 正则给print添加括号
发表于 | 阅读次数:
print (.*?);?$
-> print \($1\)
(torch.zeros\(\d+,\s+\d+)\)
-> $1, requires_grad=True)
https://blog.csdn.net/doleria/article/details/79676576
https://www.jetbrains.com/help/pycharm/regular-expression-syntax-reference.html
测试pytorch 级联grad
发表于 | 阅读次数:
1 | #!/usr/bin/env python |
1 | Model1 w1 has grad True |
jupyter添加kernel
发表于 | 阅读次数:
添加kernel
1 | ipython kernel install --name "《KernelName》" --user |
配置kernel
1 | { |
添加文章访问量
发表于 | 阅读次数: