会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
像阳光,像春天
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
13
下一页
2020年6月2日
Python time time()方法
摘要: Python time time()方法 描述 Python time time() 返回当前时间的时间戳。 语法 time()方法语法: time.time() 参数 NA。 返回值 返回当前时间的时间戳(1970纪元后经过的浮点秒数)。 实例 以下实例展示了 time() 函数的使用方法: #!
阅读全文
posted @ 2020-06-02 10:33 像阳光,像春天
阅读(358)
评论(0)
推荐(0)
2020年6月1日
torch.view().expand()
摘要: print(torch.arange(0, 20)) tensor([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19])>>> print(torch.arange(0, 20).view(20, 1, 1)
阅读全文
posted @ 2020-06-01 16:31 像阳光,像春天
阅读(650)
评论(0)
推荐(0)
pytorch中的top_K()函数
摘要: https://www.jb51.net/article/177713.htm
阅读全文
posted @ 2020-06-01 15:47 像阳光,像春天
阅读(926)
评论(0)
推荐(0)
设定学习率衰减
摘要: 方法一:https://www.pytorchtutorial.com/pytorch-learning-rate-decay/ 方法二: # lr_step = [30,80] if epoch in opt.lr_step: save_model(os.path.join(opt.save_di
阅读全文
posted @ 2020-06-01 09:41 像阳光,像春天
阅读(342)
评论(0)
推荐(0)
两个集合求交集
摘要: check_set_list = ['zheng','xinying','zhang'] >>> sample_set_list = ['xinying','zhangchunmei','zhiwu'] >>> check_set_list & sample_set_list # &求交集必须对集合
阅读全文
posted @ 2020-06-01 08:29 像阳光,像春天
阅读(333)
评论(0)
推荐(0)
2020年5月28日
zip()和zip(*)方法(转载)
摘要: https://www.cnblogs.com/Aurora-Twinkle/p/8660778.html
阅读全文
posted @ 2020-05-28 16:50 像阳光,像春天
阅读(192)
评论(0)
推荐(0)
nn.parallel.replicate, scatter, gather, parallel_apply(转载)
摘要: https://www.cnblogs.com/marsggbo/p/11534141.html
阅读全文
posted @ 2020-05-28 16:41 像阳光,像春天
阅读(229)
评论(0)
推荐(0)
cv2.namedWindow()函数
摘要: 使用cv2.imshow()的时候,如果图片太大,会显示不全并且无法调整,因此在cv2.imshow()的前面加上这样的一个语句:cv2.namedWindow('image', 0),得到的图像框就可以自己调整大小,按住四个角会出来小箭头可以拉伸调整。 参考:https://wenwen.sogo
阅读全文
posted @ 2020-05-28 10:18 像阳光,像春天
阅读(2835)
评论(0)
推荐(0)
2020年5月27日
WiderFace数据集
摘要: 链接:https://pan.baidu.com/s/19zcjt2wn0BgDZhJV_7nuGw 提取码:qoal
阅读全文
posted @ 2020-05-27 17:13 像阳光,像春天
阅读(1381)
评论(1)
推荐(0)
centerface运行错误总结
摘要: 调试Centerface程序时,报错如下 1.错误1 (torch110) root@fb488cec2ed5:/home/work/gaotong/xinying/ZCenterFace/src# python main.pyTraceback (most recent call last): F
阅读全文
posted @ 2020-05-27 15:37 像阳光,像春天
阅读(2172)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
13
下一页
公告