MhLiao / DB

A PyTorch implementation of "Real-time Scene Text Detection with Differentiable Binarization".
2.11k stars 481 forks source link

预训练模型加载出错 #348

Open lrjj opened 2 years ago

lrjj commented 2 years ago

您好,请问模型是改了嘛,还是预训练模型不是这样加载的呢?

521524294f1dd86f5658113d7b47db8 f1988f04b93f1116d8904581b2b2b83

lrjj commented 2 years ago

您好,我尝试了pre-trained-model-synthtext-resnet50是可以加载的,pre-trained-model-synthtext-resnet18却不可以,请问是pre-trained-model-synthtext-resnet18有问题嘛?

wangzixiang99 commented 1 year ago

您好,我也遇到了这种情况,跟您一样的的报错,请问您是怎么解决的呢?我也是加载作者提供的预训练权重后报错