You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
===============================================================================
发生异常: ImportError
cannot import name 'MSRA' from 'paddle.fluid.initializer' (/home/zhijh/miniconda3/envs/paddleslim311/lib/python3.11/site-packages/paddle/fluid/initializer.py)
File "/home/zhijh/Projects/PaddleSlim/quant.py", line 2, in
import paddleslim as slim
ImportError: cannot import name 'MSRA' from 'paddle.fluid.initializer' (/home/zhijh/miniconda3/envs/paddleslim311/lib/python3.11/site-packages/paddle/fluid/initializer.py)
The text was updated successfully, but these errors were encountered:
1.python3.11只支持pip install paddlepaddle==2.5.1
2.paddleslim最高版本是2.4.1
3.在上述情况下,使用 import paddleslim会出错,如下:
===============================================================================
发生异常: ImportError
cannot import name 'MSRA' from 'paddle.fluid.initializer' (/home/zhijh/miniconda3/envs/paddleslim311/lib/python3.11/site-packages/paddle/fluid/initializer.py)
File "/home/zhijh/Projects/PaddleSlim/quant.py", line 2, in
import paddleslim as slim
ImportError: cannot import name 'MSRA' from 'paddle.fluid.initializer' (/home/zhijh/miniconda3/envs/paddleslim311/lib/python3.11/site-packages/paddle/fluid/initializer.py)
The text was updated successfully, but these errors were encountered: