-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
StaticInputV2 and GeneratedInputV2 missing in paddle.v2.layer #2349
Comments
We decide not to maintain the demo since it uses old api. Do you run the train.py in book and find the above bug? |
Yes, the same bug for I was using I'm reinstalling with the |
How are about it? |
@luotao1 Thanks for checking in the issue. I'm still getting the
The strange part is that at /~https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/layer.py#L75 is inheriting the |
Sorry, this is a bug after PaddlePaddle changes its way to parse the network configuration. I am checking it now. |
* add scipy in requirements
From the MT chapter in the DL101 book and the machine translation demo with the new python API,
paddle.layer.StaticInputV2
andpaddle.layer.GeneratedInputV2
throws an AttributeError, e.g.:A closer look, they're missing from the top level
paddle.layer.__init__.py
:Currently the ad-hoc solution is to use the old
paddle.trainer_config_helpers
, e.g.This is from version 0.10.0 of the Python API.
The text was updated successfully, but these errors were encountered: