efficientdet-pytorch icon indicating copy to clipboard operation
efficientdet-pytorch copied to clipboard

train.py

Open MoonLooking opened this issue 2 years ago • 2 comments

Fail To Load Key: ['classifier.header.pointwise_conv.conv.weight', 'classifier.header.pointwise_conv.conv.bias'] …… Fail To Load Key num: 2

温馨提示,head部分没有载入是正常现象,Backbone部分没有载入是错误的。 The expanded size of the tensor (46917) must match the existing size (49104) at non-singleton dimension 1. Target sizes: [1, 46917, 4]. Tensor sizes: [1, 49104, 4] Error occurs, No graph saved 在运行时出现了这个错误

MoonLooking avatar Nov 15 '23 12:11 MoonLooking

我遇到了同样的提示错误 fail to load key num 2...。。没理解咋回事

你后边这个tensor报错似乎是 模型文件和phi的取值没有一一对应。比如模型选了d5.pth phi=5才对

jspenliany avatar Apr 25 '25 07:04 jspenliany

我遇到了同样的提示错误 fail to load key num 2...。。没理解咋回事

你后边这个tensor报错似乎是 模型文件和phi的取值没有一一对应。比如模型选了d5.pth phi=5才对

我想问一下解决了吗?

PPkangaroo avatar Sep 17 '25 00:09 PPkangaroo