mmdetection icon indicating copy to clipboard operation
mmdetection copied to clipboard

Using the previously trained checkpoints, an error occurs and the acc is 0

Open 136LYJ opened this issue 1 year ago • 1 comments

Loads checkpoint by local backend from path: checkpoints/epoch_45_11.pth The model and loaded state dict do not match exactly

size mismatch for decoder.decoder.1.embedding.weight: copying a param with shape torch.Size([37, 512]) from checkpoint, the shape in current model is torch.Size([38, 512]). size mismatch for decoder.decoder.1.embedding.bias: copying a param with shape torch.Size([37]) from checkpoint, the shape in current model is torch.Size([38]).

136LYJ avatar Jul 20 '24 11:07 136LYJ

image

136LYJ avatar Jul 20 '24 11:07 136LYJ