-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ppocr detv3检测模型转换出现问题 #87
Comments
@zhangshabao |
我是用ch_ppocr_v3_det_converter.py 这个直接python ch_ppocr_v3_det_converter.py |
|
paddle: backbone.conv.conv.weight ---- (8, 3, 3, 3) During handling of the above exception, another exception occurred: Traceback (most recent call last): |
这个好像是在paddle模型的最后一层 |
转换使用是哪一个模型?名字? |
train.log |
是第一层就出现了问题 |
加qq聊下吧,42894130 |
检测模型转换时候出现
Traceback (most recent call last):
File "f:/2023_work/OCR/gitclone_code/PaddleOCR2Pytorch-main/converter/ch_ppocr_v3_det_converter.py", line 52, in load_paddle_weights
KeyError: 'Student2.backbone.conv.weight'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
converter = PPOCRv3DetConverter(cfg, paddle_pretrained_model_path)
File "f:/2023_work/OCR/gitclone_code/PaddleOCR2Pytorch-main/converter/ch_ppocr_v3_det_converter.py", line 13, in init
self.load_paddle_weights(paddle_pretrained_model_path)
File "f:/2023_work/OCR/gitclone_code/PaddleOCR2Pytorch-main/converter/ch_ppocr_v3_det_converter.py", line 55, in load_paddle_weights
print('paddle: {}, {}'.format(ppname, para_state_dict[ppname].shape))
KeyError: 'Student2.backbone.conv.weight'
这个要怎么解决
The text was updated successfully, but these errors were encountered: