Merge branch 'master' of gitfub.space:Pownie/backgammon
This commit is contained in:
commit
e7fe827ceb
|
@ -17,11 +17,12 @@ 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
|
||||
|
|
15
requirements.txt
Normal file
15
requirements.txt
Normal 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
|
Loading…
Reference in New Issue
Block a user