当前位置:网站首页>[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
边栏推荐
猜你喜欢
Apt installation ZABBIX
How to do function test well
Linear regression and logistic regression
Software design principles
Misc (eternal night), the preliminary competition of the innovation practice competition of the National College Students' information security competition
Game theory matlab
八道超经典指针面试题(三千字详解)
Huawei, H3C, Cisco command comparison, mind map form from the basic, switching, routing three directions [transferred from wechat official account network technology alliance station]
故障分析 | MySQL 耗尽主机内存一例分析
Mysql database operation
随机推荐
【概念】Web 基础概念认知
深入探究指针及指针类型
Performance analysis of user login TPS low and CPU full
Deeply analyze the chain 2+1 mode, and subvert the traditional thinking of selling goods?
C language - Blue Bridge Cup - promised score
【指针训练——八道题】
RobotFramework入门(一)简要介绍及使用
tcpdump: no suitable device found
Leetcode problem solving -- 108 Convert an ordered array into a binary search tree
Game theory matlab
深度解析指针与数组笔试题
Leetcode problem solving -- 99 Restore binary search tree
Descriptor implements ORM model
Distributed service framework dobbo
[pointer training - eight questions]
如何做好功能测试
Pat 1084 broken keyboard (20 points) string find
Redis cluster deployment based on redis5
Prototype design
2022工作中遇到的问题四