Merge branch 'master' of gitfub.space:Pownie/backgammon

This commit is contained in:
Anders B. Ladefoged 2018-03-06 12:22:45 +01:00
commit e7fe827ceb
2 changed files with 17 additions and 1 deletions

View File

@ -17,12 +17,13 @@ class Config():
class Network:
# TODO: Actually compile tensorflow properly
os.environ["TF_CPP_MIN_LOG_LEVEL"]="2"
#os.environ["TF_CPP_MIN_LOG_LEVEL"]="2"
def custom_tanh(self, x, name=None):
a = tf.Variable(2.00, tf.float32)
return tf.scalar_mul(a, tf.tanh(x, name))
def __init__(self, session):
self.session = session
self.config = Config

15
requirements.txt Normal file
View File

@ -0,0 +1,15 @@
absl-py==0.1.10
astor==0.6.2
bleach==1.5.0
gast==0.2.0
grpcio==1.10.0
html5lib==0.9999999
Markdown==2.6.11
numpy==1.14.1
pkg-resources==0.0.0
protobuf==3.5.1
six==1.11.0
tensorboard==1.6.0
tensorflow==1.6.0
termcolor==1.1.0
Werkzeug==0.14.1