当前位置:网站首页>[padding] an error is reported in the prediction after loading the model weight attributeerror: 'model' object has no attribute '_ place‘
[padding] an error is reported in the prediction after loading the model weight attributeerror: 'model' object has no attribute '_ place‘
2022-07-06 03:10:00 【Coke Daniel】
summary
Use paddle Trained the model , End of training , There is no problem making predictions on the spot , Then saved the model
Then I load the model , An error is reported when you want to predict again
AttributeError: 'Model' object has no attribute '_place'
solve
stay model.load(‘/path’) Add the following sentence model.prepare() that will do
What principle is unknown
边栏推荐
- SD卡报错“error -110 whilst initialising SD card
- 电机控制反Park变换和反Clarke变换公式推导
- JS regular filtering and adding image prefixes in rich text
- Redis cluster deployment based on redis5
- tcpdump: no suitable device found
- 07 singleton mode
- Self made CA certificate and SSL certificate using OpenSSL
- 【paddle】加载模型权重后预测报错AttributeError: ‘Model‘ object has no attribute ‘_place‘
- Codeworks 5 questions per day (1700 average) - day 6
- Classic interview question [gem pirate]
猜你喜欢
![[ruoyi] set theme style](/img/e9/6a6b7113faed16c3b439230806320b.png)
[ruoyi] set theme style
![[matlab] access of variables and files](/img/cf/6f3cfdc4310fcf0bdcaa776d68261e.jpg)
[matlab] access of variables and files

Derivation of anti Park transform and anti Clarke transform formulas for motor control

PMP practice once a day | don't get lost in the exam -7.5

Which ecology is better, such as Mi family, graffiti, hilink, zhiting, etc? Analysis of five mainstream smart brands

全国大学生信息安全赛创新实践赛初赛---misc(永恒的夜)

My C language learning record (blue bridge) -- on the pointer

Taobao focus map layout practice

NR modulation 1

codeforces每日5题(均1700)-第六天
随机推荐
Single instance mode of encapsulating PDO with PHP in spare time
Codeforces 5 questions par jour (1700 chacune) - jour 6
NR modulation 1
Leetcode problem solving -- 98 Validate binary search tree
Résumé des méthodes de reconnaissance des caractères ocr
Prototype design
解决:AttributeError: ‘str‘ object has no attribute ‘decode‘
微服务间通信
RobotFramework入门(一)简要介绍及使用
How to choose PLC and MCU?
MySQL learning notes-10-tablespace recycling
Pat 1084 broken keyboard (20 points) string find
SD卡報錯“error -110 whilst initialising SD card
[network security interview question] - how to penetrate the test file directory through
RobotFramework入门(二)appUI自动化之app启动
Introduction to robotframework (I) brief introduction and use
淘宝焦点图布局实战
1003 emergency (25 points), "DIJ deformation"
[unity3d] GUI control
Summary of Bible story reading