• 2023-04-22力扣——554砖墙(c语言)
    title:力扣——554砖墙(c语言)题目描述:你的面前有一堵矩形的、由多行砖块组成的砖墙。这些砖块高度相同但是宽度不同。你现在要画一条自顶向下的、穿过最少砖块的垂线。砖墙由行的列表表示。每一行都是一个代表从左至右每块砖的宽度的整数列表。如果你画的线只是从砖块的边
  • 2023-02-18hrnet读取关键点顺序
     按照json读取。num_people=len(anno)area=np.zeros((num_people,1))joints=np.zeros((num_people,self.num_joints_with_center,3))
  • 2023-02-11C++字符串与int等其他类型的拼接
    利用标准库的to_string函数测试程序:voidtest(){vector<string>joints;for(inti=1;i<6;i++){stringstr="joint";
  • 2022-12-29be_weight是0.1
    def__call__(self,joints,sgm,ct_sgm,bg_weight=1.0):assertself.num_joints_with_center==joints.shape[1],\'thenumberofjointssh
  • 2022-12-27hrnet的get_joint
    他的第18个keypoint存的是平均坐标。defget_joints(self,anno):num_people=len(anno)area=np.zeros((num_people,1))joints=np.zeros(