OSDN Git Service
(root)
/
deep-learning
/
learning.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86172b3
)
for testing
author
yamat0jp
<yamat0jp@yahoo.co.jp>
Wed, 27 Dec 2017 06:23:33 +0000
(15:23 +0900)
committer
yamat0jp
<yamat0jp@yahoo.co.jp>
Wed, 27 Dec 2017 06:23:33 +0000
(15:23 +0900)
network.py
patch
|
blob
|
history
reversi.py
patch
|
blob
|
history
diff --git
a/network.py
b/network.py
index
63f8f2b
..
6189edc
100644
(file)
--- a/
network.py
+++ b/
network.py
@@
-73,6
+73,7
@@
class Comp():
break
else:
s = np.argmax(Y)
+ print(X,res,Y)
hdf5_file ='./gote-model.hdf5'
self.model2.save_weights(hdf5_file)
return [s // 8, s % 8]
diff --git
a/reversi.py
b/reversi.py
index
bb30a26
..
f4f666c
100755
(executable)
--- a/
reversi.py
+++ b/
reversi.py
@@
-241,7
+241,7
@@
player1 = Player()
player2 = Player()
index = player1
player1.stone = black
-player1.auto =
Tru
e
+player1.auto =
Fals
e
player2.auto = True
player2.stone = white
stone_grid = StoneGrid()