OSDN Git Service

過学習が起きていたっぽいので一度アップロードして対戦してみます
authoryamat0jp <yamat0jp@yahoo.co.jp>
Tue, 26 Dec 2017 06:35:31 +0000 (15:35 +0900)
committeryamat0jp <yamat0jp@yahoo.co.jp>
Tue, 26 Dec 2017 06:35:31 +0000 (15:35 +0900)
gote-model.hdf5
reversi.py
sente-model.hdf5

index 065ee7a..23fcafe 100644 (file)
Binary files a/gote-model.hdf5 and b/gote-model.hdf5 differ
index 73a219c..58a4452 100755 (executable)
@@ -231,7 +231,6 @@ def ChangePlayer():
         
 def CompStone():
     pos = [0,0]
-    i = 1 
     stone_grid.active = False
     if stone_grid.NextStone(index.stone, pos) == True:
         if index.stone == black:
@@ -239,7 +238,7 @@ def CompStone():
         elif index.stone == white:
             pre = comp.gote_stone(stone_grid.item.grid,stone_grid.arr.grid) 
         if stone_grid.CanSetStone(index.stone, pre[0], pre[1], True) == False:
-            print(pos)                                 
+            print(pre,'=>',pos)                                 
             stone_grid.CanSetStone(index.stone, pos[0], pos[1], True) 
     stone_grid.active = True
                  
index c14958d..92fec2d 100644 (file)
Binary files a/sente-model.hdf5 and b/sente-model.hdf5 differ