当前位置:网站首页>[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
边栏推荐
- Zhang Lijun: penetrating uncertainty depends on four "invariants"
- XSS challenges绕过防护策略进行 XSS 注入
- resulttype和resultmap的区别和应用场景
- 2022工作中遇到的问题四
- Data and Introspection__ dict__ Attributes and__ slots__ attribute
- 如何做好功能测试
- Performance analysis of user login TPS low and CPU full
- 不赚钱的科大讯飞,投资价值该怎么看?
- These are not very good
- [concept] Web basic concept cognition
猜你喜欢
#PAT#day10
Buuctf question brushing notes - [geek challenge 2019] easysql 1
[pointer training - eight questions]
Web security SQL injection vulnerability (1)
Fault analysis | analysis of an example of MySQL running out of host memory
真机无法访问虚拟机的靶场,真机无法ping通虚拟机
codeforces每日5題(均1700)-第六天
XSS challenges绕过防护策略进行 XSS 注入
【若依(ruoyi)】设置主题样式
深入探究指针及指针类型
随机推荐
适合程序员学习的国外网站推荐
Function knowledge points
These are not very good
[network security interview question] - how to penetrate the test file directory through
[ruoyi] set theme style
2.13 simulation summary
OCR文字识别方法综述
Self made CA certificate and SSL certificate using OpenSSL
MySQL advanced notes
Solution: attributeerror: 'STR' object has no attribute 'decode‘
Introduction to robotframework (I) brief introduction and use
jsscript
3857墨卡托坐标系转换为4326 (WGS84)经纬度坐标
4. File modification
Introduction to robotframework (II) app startup of appui automation
Pat 1084 broken keyboard (20 points) string find
How to read excel, PDF and JSON files in R language?
2.11 simulation summary
The difference between sizeof and strlen in C language
这些不太会