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

AttributeError: module 'paddleslim' has no attribute 'models' #1837

Open
taoxunqiang opened this issue Jan 31, 2024 · 1 comment
Open

AttributeError: module 'paddleslim' has no attribute 'models' #1837

taoxunqiang opened this issue Jan 31, 2024 · 1 comment
Assignees

Comments

@taoxunqiang
Copy link

安装信息如下:

paddlepaddle-gpu 2.6.0.post117
paddleslim 2.6.0

遇到的问题如下:

import paddleslim as slim

model = slim.models.MobileNet()
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'paddleslim' has no attribute 'models'

@ceci3 ceci3 self-assigned this Feb 6, 2024
@ceci3
Copy link
Contributor

ceci3 commented Feb 6, 2024

你好,最新的paddleslim版本已经没有 models文件夹了。
如果是为了跑通issue里跑的示例,可以安装2.4以前版本的paddleslim

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

No branches or pull requests

2 participants