PPStructure中KIE任务中RE子任务使用带蒸馏版本的模型预测报“Backbone” KeyError错但yml配置文件中有Backbone字段 #13269
-
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
|
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
使用dygraph的代码试试 |
Beta Was this translation helpful? Give feedback.
-
dygraph的代码具体在哪啊,我在PaddleOCR-release-2.6这个版本了没找到 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
把这个替换成
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
有时候官方的还得看仔细 |
Beta Was this translation helpful? Give feedback.
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
你在预测的时候可以不用re_vi_layoutxlm_sinovatio_zh_udml文件,改成re_vi_layoutxlm_sinovatio_zh.yml文件。你用udml文件,即使将命令改成Architecture.Models.Student.Backbone.checkpoints这样解决这个问题,但也会遇到其它问题: 'DistillationModel' object has no attribute 'backbone'、ser_results[0] KeyError: '0'。 |
Beta Was this translation helpful? Give feedback.
有时候官方的还得看仔细