上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页
摘要: 1、 对元素指定的某一部分进行排序,关键字排序 2、按照文件名种数字的大小升序排序。要用到key 相关:linux BASH shell sort 阅读全文
posted @ 2019-05-23 14:52 戒骄戒躁-沉淀积蓄 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1、目录下文件 2、重新排列 ls * | sort -n -t . -k 2 解释: -n 按照数字排排序 -r 反向 -t 分割(文件名) -k 2 第k(2)位置的数据排列 阅读全文
posted @ 2019-05-23 14:47 戒骄戒躁-沉淀积蓄 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1、yield由于创建迭代器 输出: # S1 # S2 阅读全文
posted @ 2019-05-22 09:38 戒骄戒躁-沉淀积蓄 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 1、ndarray打印省略问题 2、ndarray打印换行限制 加上下面这句代码,输出时打印不换行 阅读全文
posted @ 2019-05-17 15:31 戒骄戒躁-沉淀积蓄 阅读(2350) 评论(0) 推荐(0) 编辑
摘要: 1、tar 压缩(打包) tar -cvf jpg.tar *.jpg //将目录里所有jpg文件打包成tar.jpg tar -czf jpg.tar.gz *.jpg //将目录里所有jpg文件打包成jpg.tar后,并且将其用gzip压缩,生成一个gzip压缩过的包,命名为jpg.tar.gz 阅读全文
posted @ 2019-05-17 15:31 戒骄戒躁-沉淀积蓄 阅读(992) 评论(0) 推荐(0) 编辑
摘要: 1、代码配置 filename_queue = tf.train.string_input_producer([ "hdfs://namenode:8020/path/to/file1.csv", "hdfs://namenode:8020/path/to/file2.csv", ]) filena 阅读全文
posted @ 2019-05-14 21:56 戒骄戒躁-沉淀积蓄 阅读(4055) 评论(0) 推荐(0) 编辑
摘要: 一、linux bash 1、 进程名查找kill ps -ef | grep xxxx| grep -v grep| cut -c 9-15 | xargs kill -9 OR ps aux|grep server|grep -v grep | awk '{print $2}'|xargs ki 阅读全文
posted @ 2019-05-13 21:29 戒骄戒躁-沉淀积蓄 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 1 https://www.cnblogs.com/cmnz/p/6962500.html 2 阅读全文
posted @ 2019-05-07 18:25 戒骄戒躁-沉淀积蓄 阅读(1996) 评论(0) 推荐(0) 编辑
摘要: Email 发送 阅读全文
posted @ 2019-05-07 18:24 戒骄戒躁-沉淀积蓄 阅读(324) 评论(0) 推荐(0) 编辑
摘要: # resnet https://github.com/tensorflow/models/blob/master/research/slim/nets/resnet_v1.py https://github.com/tensorflow/models/blob/master/research/sl 阅读全文
posted @ 2019-04-30 14:04 戒骄戒躁-沉淀积蓄 阅读(454) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页