01 2021 档案

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

点击右上角即可分享
微信分享提示