01 2021 档案
摘要:import torch torch.cuda.get_device_name() #查看自己的显卡
阅读全文
摘要:pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple 将matplotlib替换为其他包名称亦可。几秒钟就可以下载完。
阅读全文
摘要:参考: https://blog.csdn.net/qq_41664845/article/details/84245520#t5 https://jalammar.github.io/visualizing-neural-machine-translation-mechanics-of-seq2s
阅读全文
摘要:参考:https://medium.com/analytics-vidhya/simple-tutorial-to-install-use-gnu-parallel-79251120d618 Download Latest version of GNU Parallel $ wget http://
阅读全文
摘要:reference: https://www.linuxprobe.com/linux-ls-grep-wc.html https://blog.csdn.net/developerof/article/details/79566570 统计文件个数(不递归): ls -l | grep "^-"
阅读全文
摘要:参考 读取文件 f = open('stus.json',encoding='utf-8') content = f.read() #使用loads()方法需要先读文件 user_dic = json.loads(cotent) print(user_dic) 读入后是一个dict对象 loads(
阅读全文