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

Game Feature #7

Open
angelasof25 opened this issue Aug 21, 2019 · 0 comments
Open

Game Feature #7

angelasof25 opened this issue Aug 21, 2019 · 0 comments

Comments

@angelasof25
Copy link

angelasof25 commented Aug 21, 2019

I know this is the representation of bar pieces and off pieces for the player but why divide by two in the first one and num_pieces in the second ? What this means?
features.append(float(len(self.bar_pieces[p])) / 2.)
features.append(float(len(self.off_pieces[p])) / self.num_pieces[p])

and in the training why feed V_next like this:
_, global_step, summaries, _ = self.sess.run(
[self.train_op, self.global_step, self.summaries_op, self.reset_op],
feed_dict={self.x: x, self.V_next: np.array([[winner]], dtype="float")},
?

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