摘要: 长度是338。 ['conv_stem.0.weight:torch.Size([24, 3, 3, 3])', 'conv_stem.1.weight:torch.Size([24])', 'conv_stem.1.bias:torch.Size([24])', 'conv_stem.1.runn 阅读全文
posted @ 2023-07-04 16:31 祥瑞哈哈哈 阅读(40) 评论(0) 推荐(0)
摘要: strict为真时要导入model所有的键值及对应名称。传入空列表报错如下 Error(s) in loading state_dict for PoseHigherResolutionNet: Missing key(s) in state_dict: "features.0.1.weight", 阅读全文
posted @ 2023-07-04 15:40 祥瑞哈哈哈 阅读(271) 评论(0) 推荐(0)
摘要: ['features.0.1.weight:torch.Size([24, 3, 3, 3])', 'features.0.2.weight:torch.Size([24])', 'features.0.2.bias:torch.Size([24])', 'features.0.2.running_ 阅读全文
posted @ 2023-07-04 14:06 祥瑞哈哈哈 阅读(18) 评论(0) 推荐(0)
摘要: 代码读取配置文件创建的网络 ['features.0.1.weight:torch.Size([24, 3, 3, 3])', 'features.0.2.weight:torch.Size([24])', 'features.0.2.bias:torch.Size([24])', 'feature 阅读全文
posted @ 2023-07-04 14:05 祥瑞哈哈哈 阅读(22) 评论(0) 推荐(0)