We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
python=3.8.16,请问大伙有没有遇见过这种问题。
from paddle.fluid.layers.nn import soft_relu ImportError: cannot import name 'soft_relu' from 'paddle.fluid.layers.nn'
The text was updated successfully, but these errors were encountered:
发现问题了,paddlepaddle版本太高,已经没有soft_relu方法。具体原因我也不祥。 首先卸载已安装的paddlepaddle pip uninstall paddlepaddle 然后重新安装低版本,我这里装的是2.4.1 pip install paddlepaddle==2.4.1 然后就可以正常执行下去了
Sorry, something went wrong.
No branches or pull requests
python=3.8.16,请问大伙有没有遇见过这种问题。
from paddle.fluid.layers.nn import soft_relu
ImportError: cannot import name 'soft_relu' from 'paddle.fluid.layers.nn'
The text was updated successfully, but these errors were encountered: