08 2020 档案

摘要:json 字符串;dict 字典 json.dumps():将python中的 字典 转换为 字符串; json.loads():解码python json格式, 将 json格式字符串 转换为 python数据类型的对象 字典; json.dump()::将python数据类型(字典)转化为字符串 阅读全文
posted @ 2020-08-17 17:34 瞧七 阅读(3096) 评论(0) 推荐(0)
摘要:问题:sqlite 如何查询数据库倒数第二条数据select * from info where date in (select date as be_date from (select date from info order by mid desc limit 2)limit 1,1) 问题:s 阅读全文
posted @ 2020-08-11 09:55 瞧七 阅读(362) 评论(0) 推荐(0)
摘要:LeNet-5(1998) AlexNet(2012) VGGNet(2014) GoogLeNet(2014) ResNet(2015) DenseNet(2017) 输入层 32*32*1 224*224*3 224*224*3 224*224*3 224*224*3 卷积层 3 5 13 卷积 阅读全文
posted @ 2020-08-10 17:38 瞧七 阅读(1014) 评论(0) 推荐(0)
摘要:1. windows环境设置: 定时执行shell脚本:https://blog.csdn.net/qq_40463753/article/details/84976977 设置python脚本定时任务,https://cloud.tencent.com/developer/news/295826 阅读全文
posted @ 2020-08-10 16:52 瞧七 阅读(250) 评论(0) 推荐(0)
摘要:出处:https://www.jianshu.com/p/986701acb442 一种叫做yaml的简化数据交换格式的帮助文档; 该文档说,从结构上看,所有的数据(data)最终可以分解成三种类型: 第一种类型是标量scalar,也就是一个单独的字符串string或数字numbers,比如“成都” 阅读全文
posted @ 2020-08-10 16:33 瞧七 阅读(148) 评论(0) 推荐(0)
摘要:参考博客:https://my.oschina.net/repine/blog/531150 Python 在 sys 模块中提供函数 getsizeof 来计算 Python 对象的大小。 sys.getsizeof(object[, default]) 以字节(byte)为单位返回对象大小。 数 阅读全文
posted @ 2020-08-07 17:20 瞧七 阅读(2219) 评论(0) 推荐(0)
摘要:python 存储数据报错: UnicodeEncodeError: 'gbk' codec can't encode character '\U0001f612' in position 95: illegal multibyte sequence 解决:open(filename+'.json' 阅读全文
posted @ 2020-08-07 17:17 瞧七 阅读(627) 评论(0) 推荐(0)