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

Does self.temperature in base.py need to be updated to a placeholder? #26

Open
mzl0707 opened this issue Nov 6, 2021 · 0 comments
Open

Comments

@mzl0707
Copy link

mzl0707 commented Nov 6, 2021

In senario_battle.py
def play():
acts[i] = models[i].act(state=state[i], prob=former_act_prob[i], eps=eps)

In base.py
def act():
self.temperature = kwargs['eps']

However, self.temperature is not put into feed_dict. I've noticed that it is a float instead of a tensor (i.e. tf.placeholder).
Is it just enough to be a float? What is the difference between float and placeholder in this specific case?

@mzl0707 mzl0707 changed the title self.temperature in base.py need to be updated to a placeholder, otherwise exploration rate decay is not working Does self.temperature in base.py need to be updated to a placeholder? Nov 6, 2021
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