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

Error when training the FRL model by: $ python main.py #2

Open
bailingbird opened this issue Jun 20, 2020 · 3 comments
Open

Error when training the FRL model by: $ python main.py #2

bailingbird opened this issue Jun 20, 2020 · 3 comments

Comments

@bailingbird
Copy link

Error is shown as follows:
tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'beta_q_input' with dtype float and shape [?,16]

I have no changes to the codes and errors happen when I run the main.py of gridworld.

@xkw1
Copy link

xkw1 commented Jul 24, 2021

I have the same problem. Have you solved it?

@xkw1
Copy link

xkw1 commented Jul 26, 2021

I know the problem. Because the default value of "--preset_lambda" in the code given by the author is False, the corresponding "--train_mode" should be changed from 'frl_lambda' to 'frl_separate'.

@zxwblublu
Copy link

Thank you! This answer really solves my problem. By the way, to other people's convenience, the "--train_mode" to be revised is in line71 in main.py

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

3 participants