
Tools
文章平均质量分 70
chansonzhang
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Tensorflow Troubleshooting
tfds.load always download even if data_dir is point to a local directory with pre-downloaded datasetsreason: maybe the local dataset is corrupted, try decompress it and open it to check it’s sanity.solution: download it again!reason: data_dir must point原创 2021-07-11 11:53:41 · 773 阅读 · 2 评论 -
统计两个目录中有差异的行数
假设原始文件存放在目录old中,文件改动后存放在目录new中。若要统计改动过程中新增的和修改的总行数,使用如下代码diff -Nur old new|egrep "^\+"|grep -v "+++"|wc -l若要统计改动过程中删除的和修改的总行数,使用如下代码diff -Nur old new|egrep "^\-"|grep -v "---"|wc -l以上统计主要是利用了di...原创 2018-11-13 09:46:48 · 4430 阅读 · 0 评论 -
Windows设置cmd和git bash爬墙
添加如下环境变量即可原创 2018-11-23 12:51:31 · 1027 阅读 · 1 评论