摘要: 2.0版本tf.Session()不能使用 解决办法: import tensorflow as tftf.compat.v1.disable_eager_execution()hello = tf.constant('hello')sess = tf.compat.v1.Session()prin 阅读全文
posted @ 2020-09-28 23:26 鼬神无悔 阅读(487) 评论(0) 推荐(0)
摘要: 1、环境:ubantu14.04 kernel:2.6.34.6 2、遇到的错误 ①需要打补丁:ptach,补丁下载地址:https://lore.kernel.org/patchwork/patch/319009/ ②具体参考博客:https://blog.csdn.net/Big_Rotor/a 阅读全文
posted @ 2020-09-28 10:38 鼬神无悔 阅读(55) 评论(0) 推荐(0)
摘要: \w :匹配包括下划线的任何单词字符,等价于 [A-Z a-z 0-9_]\W :匹配任何非单词字符,等价于 [^A-Z a-z 0-9_] 阅读全文
posted @ 2020-08-16 17:04 鼬神无悔 阅读(6497) 评论(0) 推荐(1)
摘要: \d代表的意思是匹配bai数字[0-9] \D代表的意思是匹配一个非数字字符串[^0-9](^在中括号中表示不匹配) 阅读全文
posted @ 2020-08-16 16:37 鼬神无悔 阅读(111) 评论(0) 推荐(0)