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

ModuleNotFoundError: No module named 'paddle.nn.quant.format', 'paddle.quantization' #54785

Closed
Victoria-1 opened this issue Jun 20, 2023 · 2 comments
Assignees
Labels

Comments

@Victoria-1
Copy link

bug描述 Describe the Bug

platform: windows11
paddlepaddle-gpu: 2.4.2
paddledet: 2.6.0
paddleslim: setup安装

example/auto_compression/detection/run.py报错如下:
ModuleNotFoundError: No module named 'paddle.nn.quant.format'

导入代码:
from paddle.nn.quant.format import ConvertibleQuantedLayer
其次
from paddle.quantization.config import QuantConfig

导入quantization也失败

其他补充信息 Additional Supplementary Information

No response

@zhangbo9674
Copy link
Contributor

你好,2.4.2版本中还未支持paddle.nn.quant.format,建议升级到2.5或者 develop

@paddle-bot paddle-bot bot added status/close 已关闭 and removed status/new-issue 新建 labels Jun 21, 2023
@muyele
Copy link

muyele commented Apr 20, 2024

请问这个问题解决了吗

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

No branches or pull requests

3 participants