摘要:        
keypoint_maps[-1] = 1 - keypoint_maps.max(axis=0) 因为mask是只有关键点的,因此loss肯定是关键点部分,只不过是所有关键点图的相反值    阅读全文
posted @ 2023-02-18 20:33
祥瑞哈哈哈
阅读(17)
评论(0)
推荐(0)
        
            
        
        
摘要:        
按照json读取。 num_people = len(anno) area = np.zeros((num_people, 1)) joints = np.zeros((num_people, self.num_joints_with_center, 3)) for i, obj in enumer    阅读全文
posted @ 2023-02-18 11:55
祥瑞哈哈哈
阅读(50)
评论(0)
推荐(0)
        
            
        
        
摘要:        
python来个对象赋值。 new=old new直接获得old的内存空间。 old={'l':2} new=old print('id(old)',id(old)) new['l']=3 print('id(new)',id(new)) print(old) old=2 new=old (new)    阅读全文
posted @ 2023-02-18 09:54
祥瑞哈哈哈
阅读(12)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号