-
Notifications
You must be signed in to change notification settings - Fork 178
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
tools/infer predict_rec.py #19
Comments
@mijunhua 请发一下完整的命令或代码 |
python ./tools/infer/predict_rec.py --image_dir ./doc/imgs/plate_1.jpg --rec_model_path ./pt_models/rec_models/rec_mv3_tps_bilstm_att_v2.0_infer.pth |
@mijunhua 使用RARE模型的话,试试下面的命令
|
@frotms I am having a similar error when I run The error I got is: If I manually change the out_channels to " out_channels = list(weights.values())[-2].numpy().shape[0]". I get another error that reads: Can you help? |
字符识别infer时,出现错误 ,det 和 cls是正常的
RuntimeError: Error(s) in loading state_dict for BaseModel:
Missing key(s) in state_dict: "backbone.blocks.0.mid_se.conv1.weight", "backbone.blocks.0.mid_se.conv1.bias", "backbone.blocks.0.mid_se.conv2.weight", "backbone.blocks.0.mid_se.conv2.bias", "backbone.blocks.6.mid_se.conv1.weigh
The text was updated successfully, but these errors were encountered: