You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I tried to run the default main.py with Othello game. I ran the default main successfully 12 hours.
In order to create some statistics maybe the log should also write to an excell file. How to plot statistics?
I would like to learn and maybe add on the connect4 implementation.
I followed the instruction in README.md. There are no syntax issues after modifing the main.py and pit.py
But at runtime there is an error.
failed to start due to module 'tensorflow' has no attribute 'layers' \alpha-zero-general-master\alpha-zero-general-master\connect4\tensorflow\Connect4NNet.py", line 20, in __init__ BatchNormalization = tf.layers.batch_normalization AttributeError: module 'tensorflow' has no attribute 'layers'
The text was updated successfully, but these errors were encountered:
I use PyCharm 2021.1 on windows 10
both commands in your reply run fine and has be installed.
The python interpreter is 3.8.8 and Tensorflow is 2.3.0
A question: in order to run connect4, do i need to downgrade the tensorflow to use version 1 instead of v2 ?
Hello,
I tried to run the default main.py with Othello game. I ran the default main successfully 12 hours.
In order to create some statistics maybe the log should also write to an excell file. How to plot statistics?
I would like to learn and maybe add on the connect4 implementation.
I followed the instruction in README.md. There are no syntax issues after modifing the main.py and pit.py
But at runtime there is an error.
failed to start due to module 'tensorflow' has no attribute 'layers'
\alpha-zero-general-master\alpha-zero-general-master\connect4\tensorflow\Connect4NNet.py", line 20, in __init__ BatchNormalization = tf.layers.batch_normalization AttributeError: module 'tensorflow' has no attribute 'layers'
The text was updated successfully, but these errors were encountered: