Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Error! :( #6

Open
PierLucaLanzi opened this issue Apr 16, 2019 · 0 comments
Open

Error! :( #6

PierLucaLanzi opened this issue Apr 16, 2019 · 0 comments

Comments

@PierLucaLanzi
Copy link

PierLucaLanzi commented Apr 16, 2019

I tried to run the example but I obtain this error:

root@f7776e04c7ef:/home/awari-deep/connect-four-tensorflow-master# python train.py --p1 minimax --p2 neural_network --iterations 200000 --randomness 0.1
Traceback (most recent call last):
File "train.py", line 8, in
import ai.factory
File "/home/awari-deep/connect-four-tensorflow-master/ai/factory.py", line 2, in
from neural_network.neural_network import NeuralNetwork
File "/home/awari-deep/connect-four-tensorflow-master/ai/neural_network/neural_network.py", line 24, in
x = tf.reshape(tf.concat(0,[x_p1, x_p2, x_empty]), [1, n_input])
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/array_ops.py", line 1122, in concat
tensor_shape.scalar())
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/tensor_shape.py", line 848, in assert_is_compatible_with
raise ValueError("Shapes %s and %s are incompatible" % (self, other))
ValueError: Shapes (3, 4, 4) and () are incompatible

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant