摘要: int face_index = 1;std::stringstream out; out << face_index; string save_pth = img_path.substr(0, img_path.find_last_of('.')) + "_face_index_"+ out.st 阅读全文
posted @ 2020-10-28 14:34 皮卡皮卡妞 阅读(117) 评论(0) 推荐(0)
摘要: 打印pytorch每层参数。 采用的是直接在层中加入txt的写入。需要修改的文件位置:./site-packages/torch/nn/modules/ Conv2D v = F.conv2d(input, self.weight, self.bias, self.stride,self.paddi 阅读全文
posted @ 2020-10-28 11:33 皮卡皮卡妞 阅读(2196) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-28 10:47 皮卡皮卡妞 阅读(2486) 评论(0) 推荐(0)