centernet-keras icon indicating copy to clipboard operation
centernet-keras copied to clipboard

load_weights 加载权重的时候, 报错: Shape mismatch in layer #175 , 请问是为什么呢?

Open stu-zhangxl opened this issue 2 years ago • 2 comments

ValueError: Shape mismatch in layer #175 (named conv2d_transpose_1) for weight conv2d_transpose_1/kernel:0. Weight expects shape (4, 4, 128, 256). Received saved weight with shape (2048, 256, 4, 4)

stu-zhangxl avatar Jan 03 '23 06:01 stu-zhangxl

权值哪来的

bubbliiiing avatar Jan 04 '23 15:01 bubbliiiing

用的老师你分享的权重文件centernet_resnet50_voc.h5

stu-zhangxl avatar Jan 05 '23 01:01 stu-zhangxl