摘要: 参考:https://blog.csdn.net/sinat_21302587/article/details/65634124https://blog.csdn.net/qq_39620871/article/details/80732521https://blog.csdn.net/weixin 阅读全文
posted @ 2019-09-16 22:11 anobscureretreat 阅读(2566) 评论(0) 推荐(1)
摘要: str = "www.runoob.com" print(str.upper()) # 把所有字符中的小写字母转换成大写字母 print(str.lower()) # 把所有字符中的大写字母转换成小写字母 print(str.capitalize()) # 把第一个字母转化为大写字母,其余小写 print(str.title()) # 把每个单词的第一个字母转化为大写,其余小写 输出 WWW.RU 阅读全文
posted @ 2019-09-16 22:10 anobscureretreat 阅读(6285) 评论(0) 推荐(0)
摘要: 原因 : 模型还未生成出来 , 此时你去检测的生成完毕的模型 , 模型呢 ? 还没生成 . 模型还没生成就引用了为什么不报错 ? 解决办法 : 当前情况不要以为是你的程序有 bug , 而是你的模型还没生成完毕 , OVER ! 阅读全文
posted @ 2019-09-16 22:05 anobscureretreat 阅读(3552) 评论(0) 推荐(0)
摘要: 在文件开始加入 阅读全文
posted @ 2019-09-16 22:04 anobscureretreat 阅读(564) 评论(0) 推荐(0)
摘要: 解决:使用tuple转换一次 one_hot_label[tuple(one_hot_index)] = 1.0 阅读全文
posted @ 2019-09-16 22:03 anobscureretreat 阅读(1208) 评论(0) 推荐(0)