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

why is the dqn example not running? #1160

Open
18684031838 opened this issue Dec 15, 2024 · 0 comments
Open

why is the dqn example not running? #1160

18684031838 opened this issue Dec 15, 2024 · 0 comments

Comments

@18684031838
Copy link

The python version I'm using is 3.8,and the paddle version is 2.5.0,The error message is as follows:

[12-16 07:04:52 MainThread @logger.py:242] Argv: D:\Source\study\python\paddle\examples\tutorials\lesson3\dqn\train.py
[12-16 07:04:53 MainThread @utils.py:79] paddlepaddle version: 2.5.0.
Traceback (most recent call last):
File "D:\Source\study\python\paddle\examples\tutorials\lesson3\dqn\train.py", line 30, in
from model import Model
File "D:\Source\study\python\paddle\examples\tutorials\lesson3\dqn\model.py", line 18, in
from parl import layers # Encapsulates the API of paddle.fluid.layers
ImportError: cannot import name 'layers' from 'parl' (D:\Source\study\python\paddle\parl_init_.py)

Process finished with exit code 1

Could you provide a requirements.txt file with the latest parl framework and dependencies that will work with the example? Thank you!

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

1 participant