当前位置:网站首页>[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
边栏推荐
- Solution: attributeerror: 'STR' object has no attribute 'decode‘
- 3857墨卡托坐标系转换为4326 (WGS84)经纬度坐标
- RobotFramework入门(一)简要介绍及使用
- [Yu Yue education] basic reference materials of digital electronic technology of Xi'an University of Technology
- Problems encountered in 2022 work IV
- [unity3d] GUI control
- MySQL advanced notes
- [ruoyi] set theme style
- 微服务注册与发现
- 有没有完全自主的国产化数据库技术
猜你喜欢
Introduction to robotframework (I) brief introduction and use
Taobao focus map layout practice
How to accurately identify master data?
[Chongqing Guangdong education] higher mathematics I reference materials of Southwest Petroleum University
My C language learning record (blue bridge) -- on the pointer
2022工作中遇到的问题四
真机无法访问虚拟机的靶场,真机无法ping通虚拟机
Eight super classic pointer interview questions (3000 words in detail)
【 kubernets series】 a Literature Study on the Safe exposure Applications of kubernets Service
Huawei, H3C, Cisco command comparison, mind map form from the basic, switching, routing three directions [transferred from wechat official account network technology alliance station]
随机推荐
PMP practice once a day | don't get lost in the exam -7.5
张丽俊:穿透不确定性要靠四个“不变”
2.13 simulation summary
My C language learning records (blue bridge) -- files and file input and output
Differences and application scenarios between resulttype and resultmap
有没有完全自主的国产化数据库技术
Solve 9 with C language × 9 Sudoku (personal test available) (thinking analysis)
Rust language -- iterators and closures
4. File modification
Custom attribute access__ getattribute__/ Settings__ setattr__/ Delete__ delattr__ method
BUUCTF刷题笔记——[极客大挑战 2019]EasySQL 1
C language - Blue Bridge Cup - promised score
技术分享 | undo 太大了怎么办
RobotFramework入门(二)appUI自动化之app启动
[Yu Yue education] basic reference materials of digital electronic technology of Xi'an University of Technology
Redis SDS principle
深入探究指针及指针类型
Performance test method of bank core business system
Fault analysis | analysis of an example of MySQL running out of host memory
Problems encountered in 2022 work IV