上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 74 下一页
摘要: PyTorch 训练 RNN 时,序列长度不固定怎么办? pytorch中如何在lstm中输入可变长的序列 上面两篇文章写得很好,把LSTM中训练变长序列所需的三个函数讲解的很清晰,但是这两篇文章没有给出完整的训练代码,并且没有写关于带label的情况,为此,本文给出一个完整的带label的训练代码 阅读全文
posted @ 2020-08-28 14:58 Picassooo 阅读(3465) 评论(5) 推荐(2)
摘要: python中with的用法 阅读全文
posted @ 2020-08-27 11:43 Picassooo 阅读(142) 评论(0) 推荐(0)
摘要: numpy insert()函数 阅读全文
posted @ 2020-08-27 09:53 Picassooo 阅读(385) 评论(0) 推荐(0)
摘要: Understanding Model Validation for Classification 阅读全文
posted @ 2020-08-25 11:21 Picassooo 阅读(118) 评论(0) 推荐(0)
摘要: a = {'John': 60, 'Alice': 95, 'Paul': 80, 'James': 75, 'Bob': 85} # 问题:如何找出得75分的那个同学? # 方法一:利用 keys() 、values()、index() 函数 name = list(a.keys())[list( 阅读全文
posted @ 2020-08-24 10:54 Picassooo 阅读(6883) 评论(0) 推荐(0)
摘要: import numpy as np # Save dictionary = {'hello':'world'} np.save('my_file.npy', dictionary) # Load read_dictionary = np.load('my_file.npy').item() pri 阅读全文
posted @ 2020-08-23 23:41 Picassooo 阅读(6483) 评论(0) 推荐(0)
摘要: 方法一 摘自Python查找列表中某个元素返回所有下标 方法二 name = ['hello', 'world', 'a', 'b', 'c', 1, 2, 3, 'hello', 'world', 'a', 'b', 'c', 1, 2, 3] first_pos = 0 for i in ran 阅读全文
posted @ 2020-08-23 21:56 Picassooo 阅读(7414) 评论(0) 推荐(0)
摘要: 摘自:Sener, Ozan, et al. "Unsupervised semantic parsing of video collections." Proceedings of the IEEE International Conference on Computer Vision. 2015 阅读全文
posted @ 2020-08-20 14:56 Picassooo 阅读(376) 评论(0) 推荐(0)
摘要: 匈牙利匹配得到的结果中: 假设我们的模型设置的query数目是190,某个sample中gt bbox的数目是10 pos_inds:含义是这190个query中,匹配上了gt bbox的query的index,从小到大排列。 pos_assigned_gt_inds:含义是匹配上了gt的query 阅读全文
posted @ 2020-08-20 10:02 Picassooo 阅读(3150) 评论(0) 推荐(0)
摘要: 个人主页及文章代码 Hongsong Wang, 王洪松 Beyond Joints: Learning Representations from Primitive Geometries for Skeleton-based Action Recognition and Detection, co 阅读全文
posted @ 2020-08-18 22:13 Picassooo 阅读(174) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 74 下一页