Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paddleX3.0版本调用本地模型时遇到了报错 #2522

Open
MonLightMagic opened this issue Nov 20, 2024 · 1 comment
Open

paddleX3.0版本调用本地模型时遇到了报错 #2522

MonLightMagic opened this issue Nov 20, 2024 · 1 comment
Assignees

Comments

@MonLightMagic
Copy link

Checklist:

查看了文档和issue都是调用paddleX模型的方法,不知道怎么调用本地的模型

描述问题

复现

遇到了如下的报错,说paddleX3中已经没有了load_,model这个函数,但是不知道改成了什么
Traceback (most recent call last):
File "c:\Users\Administrator\Desktop\pilaojiance.py", line 9, in
model = pdx.load_model(save_dir)
AttributeError: module 'paddlex' has no attribute 'load_model'

环境

  1. PaddlePaddle3和PaddleX3

  2. Windows

@cuicheng01
Copy link
Collaborator

PaddleX3.0是一次大的改版和升级,请使用3.0的使用文档哦https://paddlepaddle.github.io/PaddleX/latest/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants