Skip to content

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

@mzl0707

Description

@mzl0707

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions